[clfft] 64/128: typo in the loop to manage 3d fft for the hermitian to real case

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Thu Oct 22 14:54:39 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository clfft.

commit 55281a4788fa125744701d495bca5e0586b816e6
Author: BenjaminCoquelle <benjamin.coquelle at amd.com>
Date:   Fri Sep 11 08:26:22 2015 +0100

    typo in the loop to manage 3d fft for the hermitian to real case
---
 src/library/plan.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/library/plan.cpp b/src/library/plan.cpp
index 084cf72..d3439cc 100644
--- a/src/library/plan.cpp
+++ b/src/library/plan.cpp
@@ -3198,7 +3198,7 @@ clfftStatus	clfftBakePlan( clfftPlanHandle plHandle, cl_uint numQueues, cl_comma
 				if (fftPlan->tmpBufSize == 0)
 				{
 					fftPlan->tmpBufSize = Nt * length1 * length2 * fftPlan->batchsize * fftPlan->ElementSize();
-					for (size_t index=2; index < fftPlan->length.size(); index++)
+					for (size_t index=3; index < fftPlan->length.size(); index++)
 						fftPlan->tmpBufSize *= fftPlan->length[index];
 				}
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/clfft.git



More information about the debian-science-commits mailing list