[Rcpp-commits] r3020 - pkg/Rcpp/inst/include/Rcpp/sugar/functions/impl

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Apr 26 18:58:57 CEST 2011


Author: romain
Date: 2011-04-26 18:58:57 +0200 (Tue, 26 Apr 2011)
New Revision: 3020

Modified:
   pkg/Rcpp/inst/include/Rcpp/sugar/functions/impl/var.h
Log:
testing something

Modified: pkg/Rcpp/inst/include/Rcpp/sugar/functions/impl/var.h
===================================================================
--- pkg/Rcpp/inst/include/Rcpp/sugar/functions/impl/var.h	2011-04-26 16:51:35 UTC (rev 3019)
+++ pkg/Rcpp/inst/include/Rcpp/sugar/functions/impl/var.h	2011-04-26 16:58:57 UTC (rev 3020)
@@ -26,7 +26,7 @@
 namespace sugar{
 
     template <int RTYPE, bool NA, typename T>
-    typename Rcpp::traits::storage_type<RTYPE>::type Var<RTYPE,NA,T>::get() const {
+    typename Var<RTYPE,NA,T>::STORAGE Var<RTYPE,NA,T>::get() const {
 		STORAGE m = mean(object).get() ;
 		Minus_Vector_Primitive<RTYPE,NA,T> mm( object, m) ;
 		STORAGE ssq  = sum( pow(mm,2.0) ).get() ;



More information about the Rcpp-commits mailing list