[Rcpp-commits] r1323 - pkg/RcppGSL/src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue May 25 15:21:32 CEST 2010


Author: romain
Date: 2010-05-25 15:21:32 +0200 (Tue, 25 May 2010)
New Revision: 1323

Modified:
   pkg/RcppGSL/src/fastLm.cpp
Log:
nothing should be called 'stderr' on windows

Modified: pkg/RcppGSL/src/fastLm.cpp
===================================================================
--- pkg/RcppGSL/src/fastLm.cpp	2010-05-25 13:20:17 UTC (rev 1322)
+++ pkg/RcppGSL/src/fastLm.cpp	2010-05-25 13:21:32 UTC (rev 1323)
@@ -47,7 +47,7 @@
           
 		// currently there is not a more direct interface in Rcpp::NumericVector
 		// that takes advantage of wrap, so we have to do it in two steps
-		Rcpp::NumericVector std_err ; stderr = diag;
+		Rcpp::NumericVector std_err ; std_err = diag;
 		std::transform( std_err.begin(), std_err.end(), std_err.begin(), sqrt );
 
 		Rcpp::List res = Rcpp::List::create(Rcpp::Named("coefficients") = coef, 



More information about the Rcpp-commits mailing list