aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/uvsim/telescope.py
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2017-11-03 13:38:08 +0800
committerAaron LI <aly@aaronly.me>2017-11-03 13:38:08 +0800
commite25e0d95600b548f2237163e8fd88b219397fca4 (patch)
tree2587f9b848a686df3c1124387fddf58fc1835e63 /fg21sim/uvsim/telescope.py
parent7a88ee0ecbc74ece326249c90ecb170f087be2d0 (diff)
downloadfg21sim-e25e0d95600b548f2237163e8fd88b219397fca4.tar.bz2
Deprecate np.int, np.float
See: https://github.com/numpy/numpy/pull/6103
Diffstat (limited to 'fg21sim/uvsim/telescope.py')
-rw-r--r--fg21sim/uvsim/telescope.py6
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)
}