From e2d93b2bb4160868fc426a2af8043d2de6a6283d Mon Sep 17 00:00:00 2001 From: Benedikt Daurer Date: Fri, 25 Mar 2022 14:45:33 +0000 Subject: [PATCH] fixed small bug in log_likelihood.cu --- ptypy/accelerate/cuda_pycuda/cuda/log_likelihood.cu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ptypy/accelerate/cuda_pycuda/cuda/log_likelihood.cu b/ptypy/accelerate/cuda_pycuda/cuda/log_likelihood.cu index 491757e32..075d59f0a 100644 --- a/ptypy/accelerate/cuda_pycuda/cuda/log_likelihood.cu +++ b/ptypy/accelerate/cuda_pycuda/cuda/log_likelihood.cu @@ -127,8 +127,8 @@ extern "C" __global__ void __launch_bounds__(1024, 2) const int *ma = addr + 12 + (blockIdx.x * nmodes) * addr_stride; aux += ea[0] * A * B; - weights += da[0] * A * B; - I += ma[0] * A * B; + I += da[0] * A * B; + weights += ma[0] * A * B; llerr += da[0] * A * B; MATH_TYPE norm = A * B;