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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sun Sep 22 19:42:43 CEST 2013


Author: edd
Date: 2013-09-22 19:42:42 +0200 (Sun, 22 Sep 2013)
New Revision: 4531

Modified:
   pkg/Rcpp/inst/include/Rcpp/vector/Vector.h
Log:
correct a debug message, and one whitespace indent


Modified: pkg/Rcpp/inst/include/Rcpp/vector/Vector.h
===================================================================
--- pkg/Rcpp/inst/include/Rcpp/vector/Vector.h	2013-09-22 03:13:45 UTC (rev 4530)
+++ pkg/Rcpp/inst/include/Rcpp/vector/Vector.h	2013-09-22 17:42:42 UTC (rev 4531)
@@ -88,11 +88,11 @@
         update_vector();
     }
     Vector( const char* st ) : RObject( internal::vector_from_string<RTYPE>(st) ){
-        RCPP_DEBUG_2( "Vector<%d>( const std::string& = %s )", RTYPE, st.c_str() )
+        RCPP_DEBUG_2( "Vector<%d>( const char* = %s )", RTYPE, st.c_str() )
         update_vector();
     }
 	
-	Vector( const int& siz, stored_type (*gen)(void) ) : RObject(Rf_allocVector( RTYPE, siz)) {
+    Vector( const int& siz, stored_type (*gen)(void) ) : RObject(Rf_allocVector( RTYPE, siz)) {
         RCPP_DEBUG_2( "Vector<%d>( const int& siz = %s, stored_type (*gen)(void) )", RTYPE, siz )
         update_vector() ;
         iterator first = begin(), last = end() ;



More information about the Rcpp-commits mailing list