From e25e0d95600b548f2237163e8fd88b219397fca4 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Fri, 3 Nov 2017 13:38:08 +0800 Subject: Deprecate np.int, np.float See: https://github.com/numpy/numpy/pull/6103 --- fg21sim/uvsim/telescope.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'fg21sim/uvsim') diff --git a/fg21sim/uvsim/telescope.py b/fg21sim/uvsim/telescope.py index d567591..16b627d 100644 --- a/fg21sim/uvsim/telescope.py +++ b/fg21sim/uvsim/telescope.py @@ -238,9 +238,9 @@ class SKA1Low: x, y = np.zeros(n), np.zeros(n) grid = { - "start": np.zeros((grid_size, grid_size), dtype=np.int), - "end": np.zeros((grid_size, grid_size), dtype=np.int), - "count": np.zeros((grid_size, grid_size), dtype=np.int), + "start": np.zeros((grid_size, grid_size), dtype=int), + "end": np.zeros((grid_size, grid_size), dtype=int), + "count": np.zeros((grid_size, grid_size), dtype=int), "next": np.zeros(n, dtype=int) } -- cgit v1.2.2