From 98504464d002732a66b45322eb25d59844980643 Mon Sep 17 00:00:00 2001 From: do-jason Date: Wed, 1 Nov 2023 21:15:36 -0700 Subject: [PATCH] Fix for https://github.com/3dem/relion/issues/1017 --- src/fftw.h | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/fftw.h b/src/fftw.h index 4a0f6b1b0..43a186e76 100644 --- a/src/fftw.h +++ b/src/fftw.h @@ -418,14 +418,6 @@ void centerFFT_2D_CPU( int xshift, int yshift) { -#ifdef DEBUG_CUDA - if (image_size > (size_t)std::numeric_limits::max()) - ACC_PTR_DEBUG_INFO("centerFFT_2D: image_size > std::numeric_limits::max()"); - if (image_size*(size_t)batch_size > (size_t)std::numeric_limits::max()) - ACC_PTR_DEBUG_INFO("centerFFT_2D: image_size*batch_size > std::numeric_limits::max()"); - if (pixel_end > image_size) - ACC_PTR_DEBUG_INFO("centerFFT_2D: pixel_end > image_size"); -#endif size_t pix_start = pixel_start; size_t pix_end = pixel_end; for(int batch=0; batch (size_t)std::numeric_limits::max()) - ACC_PTR_DEBUG_INFO("centerFFT_3D: image_size > std::numeric_limits::max()"); - if (image_size*(size_t)batch_size > (size_t)std::numeric_limits::max()) - ACC_PTR_DEBUG_INFO("centerFFT_3D: image_size*batch_size > std::numeric_limits::max()"); - if (pixel_end > image_size) - ACC_PTR_DEBUG_INFO("centerFFT_3D: pixel_end > image_size"); -#endif size_t pix_start = pixel_start; size_t pix_end = pixel_end; int xydim = xdim*ydim;