From 6e7f68885335245e3dff2f383f10bf733ef0528b Mon Sep 17 00:00:00 2001
From: Claudio Gheller <cgheller@login01.m100.cineca.it>
Date: Thu, 9 Mar 2023 09:37:56 +0100
Subject: [PATCH] bug fix

---
 inverse-imaging.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/inverse-imaging.c b/inverse-imaging.c
index 81de6cd..2f4fef5 100644
--- a/inverse-imaging.c
+++ b/inverse-imaging.c
@@ -489,7 +489,8 @@ if(rank == 0){
                }
             }
         }
-	// This is only for the moment
+	// Copy input image to Fourier space (only for debugging purpose)
+	/*
 	fftwindex = 0;
         for (int iw=0; iw<num_w_planes; iw++)
         {
@@ -510,6 +511,7 @@ if(rank == 0){
                }
             }
         }
+	*/
 
 	fftw_free(fftwgrid);
 	free(fftwimage);
-- 
GitLab