diff options
author | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2019-03-12 16:37:15 +0100 |
---|---|---|
committer | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2019-03-12 16:40:14 +0100 |
commit | 91f8e20d164be682059346718828e274d9438b5c (patch) | |
tree | 9f69d2755bcdab23e522154d2fafc44e28d57af3 /python/astra/functions.py | |
parent | 78b36155d7633bf862045f3eff7fbc37fbc03498 (diff) | |
download | astra-91f8e20d164be682059346718828e274d9438b5c.tar.gz astra-91f8e20d164be682059346718828e274d9438b5c.tar.bz2 astra-91f8e20d164be682059346718828e274d9438b5c.tar.xz astra-91f8e20d164be682059346718828e274d9438b5c.zip |
Fix rounding error in ParStripProjector2D::getProjectionWeightsCount
In the worst case this would lead to (nearly) empty storage for getMatrix(),
resulting in (near) explicit projection matrices. (These are only used for
exporting explicit sparse projection matrices to matlab/python; not for
FP/BP/reconstruction.)
This is a quick fix; ideally the affected code would use dynamic storage.
Diffstat (limited to 'python/astra/functions.py')
0 files changed, 0 insertions, 0 deletions