summaryrefslogtreecommitdiffstats
path: root/cuda/3d
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2020-02-05 14:15:59 +0100
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2020-02-05 14:15:59 +0100
commitb85922700332c8270b144d6fa80d7b08e24bf5ac (patch)
treefa10ebb9298dbd111666c99308d3cde76d896294 /cuda/3d
parent59b73103187c04ad63d90d65ef67f3a9fe19d00e (diff)
downloadastra-b85922700332c8270b144d6fa80d7b08e24bf5ac.tar.gz
astra-b85922700332c8270b144d6fa80d7b08e24bf5ac.tar.bz2
astra-b85922700332c8270b144d6fa80d7b08e24bf5ac.tar.xz
astra-b85922700332c8270b144d6fa80d7b08e24bf5ac.zip
Fix potential geometry constant corruption in par3d_bp
Diffstat (limited to 'cuda/3d')
-rw-r--r--cuda/3d/par3d_bp.cu2
1 files changed, 1 insertions, 1 deletions
diff --git a/cuda/3d/par3d_bp.cu b/cuda/3d/par3d_bp.cu
index 32a2062..857a314 100644
--- a/cuda/3d/par3d_bp.cu
+++ b/cuda/3d/par3d_bp.cu
@@ -268,7 +268,7 @@ bool Par3DBP_Array(cudaPitchedPtr D_volumeData,
if (th + angleCount > dims.iProjAngles)
angleCount = dims.iProjAngles - th;
- bool ok = transferConstants(angles, dims.iProjAngles, params);
+ bool ok = transferConstants(angles, angleCount, params);
if (!ok)
return false;