Skip to content
Snippets Groups Projects
Commit 3f6f90ae authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

TEST: Avoid numpy warning

parent e57c406d
No related branches found
No related tags found
No related merge requests found
...@@ -465,7 +465,10 @@ def _test_expansion(coverage, slices, volumes, expansions): ...@@ -465,7 +465,10 @@ def _test_expansion(coverage, slices, volumes, expansions):
# coverage, or in one of the expansions. # coverage, or in one of the expansions.
dimranges = [] dimranges = []
for d in range(ndims): for d in range(ndims):
dimranges.append(np.linspace(nc[0, d], nc[1, d], nc[1, d] / 5, dtype=np.uint32)) dimranges.append(np.linspace(nc[0, d],
nc[1, d],
int(nc[1, d] / 5),
dtype=np.uint32))
points = it.product(*dimranges) points = it.product(*dimranges)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment