[Rcpp-commits] r416 - pkg/src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Jan 20 14:35:43 CET 2010


Author: romain
Date: 2010-01-20 14:35:36 +0100 (Wed, 20 Jan 2010)
New Revision: 416

Modified:
   pkg/src/RawVector.cpp
Log:
forgot to save

Modified: pkg/src/RawVector.cpp
===================================================================
--- pkg/src/RawVector.cpp	2010-01-20 13:13:12 UTC (rev 415)
+++ pkg/src/RawVector.cpp	2010-01-20 13:35:36 UTC (rev 416)
@@ -30,13 +30,11 @@
 		switch( TYPEOF( x ) ){
 			case RAWSXP:
 				setSEXP( x ) ;
-				update() ;
 				break ;
 			case INTSXP:
 			case REALSXP:
 			case LGLSXP:
 				setSEXP( Rf_coerceVector( x, RAWSXP) ) ;
-				update() ;
 				break ;
 			default:
 				throw not_compatible( "cannot convert to intrger vector" ) ;
@@ -45,7 +43,6 @@
 	
 	RawVector::RawVector(int size) : VectorBase(), start(0) {
 		setSEXP( Rf_allocVector(RAWSXP, size) ) ;
-		update() ;
 	}
 
 } // namespace 



More information about the Rcpp-commits mailing list