From 083444fabc79ea9aecf4a77e712a94515f0cbb0f Mon Sep 17 00:00:00 2001 From: deprekate Date: Wed, 12 Feb 2025 15:14:55 -0800 Subject: [PATCH] fixed bug in laplacian_3d --- sdeconv/deconv/wiener.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdeconv/deconv/wiener.py b/sdeconv/deconv/wiener.py index 63402a9..7b337b8 100644 --- a/sdeconv/deconv/wiener.py +++ b/sdeconv/deconv/wiener.py @@ -42,7 +42,7 @@ def laplacian_3d(shape: tuple[int, int]) -> torch.Tensor: image[z_c, y_c - 1, x_c] = -1 image[z_c, y_c + 1, x_c] = -1 image[z_c, y_c, x_c - 1] = -1 - image[z_c, y_c, x_c - 1] = -1 + image[z_c, y_c, x_c + 1] = -1 return image