diff options
author | Aaron LI <aly@aaronly.me> | 2017-08-14 09:40:12 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2017-08-14 09:40:12 +0800 |
commit | b9697f8e8c10ab80f4c24652833f33ab1a8b620b (patch) | |
tree | 47124b48db4962d91ab25c4e09117e425804e5bc /fg21sim/__init__.py | |
parent | 9bde3eea7ba531c7d1f96a7430f7d8ef0d9acbc0 (diff) | |
download | fg21sim-b9697f8e8c10ab80f4c24652833f33ab1a8b620b.tar.bz2 |
Fix the warning on scipy.ndimage.zoom output shape calculation
scipy.ndimage.zoom calculate the output/zoomed image shape with round(),
while the old versions use int() instead. When the two calculations are
different, a warning is raised. This commit fixes the calculation
mismatch.
Signed-off-by: Aaron LI <aly@aaronly.me>
Diffstat (limited to 'fg21sim/__init__.py')
0 files changed, 0 insertions, 0 deletions