diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-10-26 20:35:16 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-10-26 20:35:16 +0800 |
commit | 10283f5bb2b72b8b35d385636654c0a7f6f68fd0 (patch) | |
tree | a4cd1a8a6e7561d125a51a46b57e27a756c6fd3f /fg21sim/utils/grid.py | |
parent | 60259c97845f7c96645f130dae770c05ef51c193 (diff) | |
download | fg21sim-10283f5bb2b72b8b35d385636654c0a7f6f68fd0.tar.bz2 |
utils/rotate.py: Fix two bugs which cause wrong results
* Fix the wrong output shape: wrongly swap the row and column
* Fix the area mapping method, which may give zero values when the index
of the input is integer, which cause problem to calculate the
overlapping areas.
Diffstat (limited to 'fg21sim/utils/grid.py')
0 files changed, 0 insertions, 0 deletions