diff options
author | Aaron LI <aly@aaronly.me> | 2017-11-03 13:38:08 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2017-11-03 13:38:08 +0800 |
commit | e25e0d95600b548f2237163e8fd88b219397fca4 (patch) | |
tree | 2587f9b848a686df3c1124387fddf58fc1835e63 /fg21sim/uvsim | |
parent | 7a88ee0ecbc74ece326249c90ecb170f087be2d0 (diff) | |
download | fg21sim-e25e0d95600b548f2237163e8fd88b219397fca4.tar.bz2 |
Deprecate np.int, np.float
See: https://github.com/numpy/numpy/pull/6103
Diffstat (limited to 'fg21sim/uvsim')
-rw-r--r-- | fg21sim/uvsim/telescope.py | 6 |
1 files changed, 3 insertions, 3 deletions
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) } |