[Ecm-commits] r1574 - trunk/gpu/gpu_ecm_cc13

cvs commits ecm-commits at lists.gforge.inria.fr
Thu Apr 21 16:30:48 CEST 2011


Author: bouvierc
Date: 2011-04-21 16:30:48 +0200 (Thu, 21 Apr 2011)
New Revision: 1574

Modified:
   trunk/gpu/gpu_ecm_cc13/cudaarith.cu
Log:
Correct a little mistake in the compare function.


Modified: trunk/gpu/gpu_ecm_cc13/cudaarith.cu
===================================================================
--- trunk/gpu/gpu_ecm_cc13/cudaarith.cu	2011-04-20 15:40:57 UTC (rev 1573)
+++ trunk/gpu/gpu_ecm_cc13/cudaarith.cu	2011-04-21 14:30:48 UTC (rev 1574)
@@ -14,7 +14,7 @@
 		if (A[i] < B[i])
 			return -1;
 		i--;
-	}while(i!=0);
+	}while(i!=-1);
 	return 0;
 }
 //#endif




More information about the Ecm-commits mailing list