diff --git a/examples/contour_tree_distributed/split_data_2d.py b/examples/contour_tree_distributed/split_data_2d.py index 7c3f1ab5a..fb8c9d50e 100755 --- a/examples/contour_tree_distributed/split_data_2d.py +++ b/examples/contour_tree_distributed/split_data_2d.py @@ -6,7 +6,7 @@ import sys # Read a 2D text file from disk into a NumPy array def read_file(fn): - data = np.fromfile(fn, dtype=np.int, sep=" ") + data = np.fromfile(fn, dtype=int, sep=" ") data = data[2:].reshape(tuple(data[0:2])) return data