fixed bug in averageDown and updated test

This commit is contained in:
Martin Diehl 2013-03-13 16:23:02 +00:00
parent f738c6e7ee
commit 757c3e5a04
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ for file in files:
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
elem = 1
for c in xrange(downSized[2]):