[Rcpp-commits] r2317 - pkg/RcppDE/src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Oct 16 23:05:18 CEST 2010


Author: edd
Date: 2010-10-16 23:05:18 +0200 (Sat, 16 Oct 2010)
New Revision: 2317

Modified:
   pkg/RcppDE/src/de4_0.cpp
Log:
cut & paste typo


Modified: pkg/RcppDE/src/de4_0.cpp
===================================================================
--- pkg/RcppDE/src/de4_0.cpp	2010-10-16 21:04:29 UTC (rev 2316)
+++ pkg/RcppDE/src/de4_0.cpp	2010-10-16 21:05:18 UTC (rev 2317)
@@ -194,7 +194,7 @@
 	d_bestvalit[i_iter] = t_bestC;		// store the best value 
 	
 	//for (j = 0; j < i_D; j++) t_bestitP[j] = t_bestP[j];
-	t_bestitP[j] = t_bestP;
+	t_bestitP = t_bestP;
 	t_bestitC = t_bestC;
       
 	i_iter++;



More information about the Rcpp-commits mailing list