Skip to content
Snippets Groups Projects
Commit d8133b17 authored by Paul McCarthy's avatar Paul McCarthy
Browse files

calcExpansion test coverage reduced a bit so it doesn't take an insane

amount of time to run.
parent f111ca20
No related branches found
No related tags found
No related merge requests found
...@@ -259,7 +259,7 @@ def _test_expansion(coverage, slices, volumes, expansions): ...@@ -259,7 +259,7 @@ 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.arange(nc[0, d], nc[1, d])) dimranges.append(np.linspace(nc[0, d], nc[1, d], 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