[Rcpp-commits] r2033 - pkg/Rcpp/inst/include/Rcpp/vector

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Aug 17 11:00:35 CEST 2010


Author: romain
Date: 2010-08-17 11:00:34 +0200 (Tue, 17 Aug 2010)
New Revision: 2033

Modified:
   pkg/Rcpp/inst/include/Rcpp/vector/VectorBase.h
Log:
helping RcppArmadillo

Modified: pkg/Rcpp/inst/include/Rcpp/vector/VectorBase.h
===================================================================
--- pkg/Rcpp/inst/include/Rcpp/vector/VectorBase.h	2010-08-17 07:06:39 UTC (rev 2032)
+++ pkg/Rcpp/inst/include/Rcpp/vector/VectorBase.h	2010-08-17 09:00:34 UTC (rev 2033)
@@ -31,6 +31,7 @@
 	struct r_type : traits::integral_constant<int,RTYPE>{} ;
 	struct can_have_na : traits::integral_constant<bool,na>{} ;
 	typedef typename traits::storage_type<RTYPE>::type stored_type ;
+	typedef typename traits::storage_type<RTYPE>::type elem_type ;
 	
 	VECTOR& get_ref(){
 		return static_cast<VECTOR&>(*this) ;



More information about the Rcpp-commits mailing list