diff options
author | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2020-02-05 14:15:59 +0100 |
---|---|---|
committer | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2020-02-05 14:15:59 +0100 |
commit | b85922700332c8270b144d6fa80d7b08e24bf5ac (patch) | |
tree | fa10ebb9298dbd111666c99308d3cde76d896294 | |
parent | 59b73103187c04ad63d90d65ef67f3a9fe19d00e (diff) | |
download | astra-b85922700332c8270b144d6fa80d7b08e24bf5ac.tar.gz astra-b85922700332c8270b144d6fa80d7b08e24bf5ac.tar.bz2 astra-b85922700332c8270b144d6fa80d7b08e24bf5ac.tar.xz astra-b85922700332c8270b144d6fa80d7b08e24bf5ac.zip |
Fix potential geometry constant corruption in par3d_bp
-rw-r--r-- | cuda/3d/par3d_bp.cu | 2 |
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; |