[Rcpp-commits] r1139 - pkg/Rcpp/src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sun May 2 19:19:33 CEST 2010


Author: romain
Date: 2010-05-02 19:19:31 +0200 (Sun, 02 May 2010)
New Revision: 1139

Modified:
   pkg/Rcpp/src/r_cast.cpp
Log:
typo

Modified: pkg/Rcpp/src/r_cast.cpp
===================================================================
--- pkg/Rcpp/src/r_cast.cpp	2010-05-02 12:54:22 UTC (rev 1138)
+++ pkg/Rcpp/src/r_cast.cpp	2010-05-02 17:19:31 UTC (rev 1139)
@@ -46,7 +46,7 @@
 	case RAWSXP:
 		return Rf_coerceVector( x, REALSXP );
 	default:
-		throw ::Rcpp::not_compatible( "not compatible with INTSXP" ) ;
+		throw ::Rcpp::not_compatible( "not compatible with REALSXP" ) ;
 	}
 	return R_NilValue ; /* -Wall */
 }



More information about the Rcpp-commits mailing list