fixed bug in averageDown and updated test
This commit is contained in:
parent
f738c6e7ee
commit
757c3e5a04
|
@ -156,7 +156,7 @@ for file in files:
|
||||||
data /= packing.prod()
|
data /= packing.prod()
|
||||||
|
|
||||||
|
|
||||||
posOffset = (shift+[0.5,0.5,0.5])*dimension/resolution
|
posOffset = (shift+[0.5,0.5,0.5])*dimension/resolution*packing
|
||||||
elementSize = dimension/resolution*packing
|
elementSize = dimension/resolution*packing
|
||||||
elem = 1
|
elem = 1
|
||||||
for c in xrange(downSized[2]):
|
for c in xrange(downSized[2]):
|
||||||
|
|
Loading…
Reference in New Issue