summaryrefslogtreecommitdiffstats
path: root/python/astra/extrautils.pyx
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2019-03-12 16:37:15 +0100
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2019-03-12 16:40:14 +0100
commit91f8e20d164be682059346718828e274d9438b5c (patch)
tree9f69d2755bcdab23e522154d2fafc44e28d57af3 /python/astra/extrautils.pyx
parent78b36155d7633bf862045f3eff7fbc37fbc03498 (diff)
downloadastra-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/extrautils.pyx')
0 files changed, 0 insertions, 0 deletions