Commit a7a9f88b authored by Simon Perkins's avatar Simon Perkins
Browse files

Fix grid kwarg

parent 05fbd70d
......@@ -62,8 +62,8 @@ def test_hoisted_grid_allocation(nxdirty, nydirty, nrow, nchan, epsilon):
vis = baselines.ms2vis(ms, idx)
user_grid = np.zeros((gconf.Nu(), gconf.Nv()),
dtype=np.complex128)
grid = ng.vis2grid_c(baselines, gconf, idx, vis, user_grid=None)
grid2 = ng.vis2grid_c(baselines, gconf, idx, vis, user_grid=user_grid)
grid = ng.vis2grid_c(baselines, gconf, idx, vis, grid_in=None)
grid2 = ng.vis2grid_c(baselines, gconf, idx, vis, grid_in=user_grid)
# Almost same visibilities
assert_array_almost_equal(grid, grid2)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment