From b85922700332c8270b144d6fa80d7b08e24bf5ac Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Wed, 5 Feb 2020 14:15:59 +0100 Subject: Fix potential geometry constant corruption in par3d_bp --- cuda/3d/par3d_bp.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cuda/3d') 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; -- cgit v1.2.3