[Rcpp-commits] r1672 - pkg/Rcpp/inst/include/Rcpp

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Jun 23 15:46:04 CEST 2010


Author: romain
Date: 2010-06-23 15:46:04 +0200 (Wed, 23 Jun 2010)
New Revision: 1672

Modified:
   pkg/Rcpp/inst/include/Rcpp/Date.h
Log:
grrrr

Modified: pkg/Rcpp/inst/include/Rcpp/Date.h
===================================================================
--- pkg/Rcpp/inst/include/Rcpp/Date.h	2010-06-23 13:40:40 UTC (rev 1671)
+++ pkg/Rcpp/inst/include/Rcpp/Date.h	2010-06-23 13:46:04 UTC (rev 1672)
@@ -72,7 +72,7 @@
     }
     
     template<> inline SEXP wrap_extra_steps<Rcpp::Date>( SEXP x ){
-    	Rf_setAttrib( Rf_install("class"), x, Rf_mkString( "Date" ) ) ;
+    	Rf_setAttrib( x, Rf_install("class"), Rf_mkString( "Date" ) ) ;
     	return x ;
     }
 	



More information about the Rcpp-commits mailing list