[Rcpp-commits] r2508 - pkg/Rcpp/inst/doc/Rcpp-modules

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Nov 23 18:47:40 CET 2010


Author: edd
Date: 2010-11-23 18:47:39 +0100 (Tue, 23 Nov 2010)
New Revision: 2508

Modified:
   pkg/Rcpp/inst/doc/Rcpp-modules/Rcpp-modules.Rnw
Log:
remove Rcpp:: which is not need following using namespace

Modified: pkg/Rcpp/inst/doc/Rcpp-modules/Rcpp-modules.Rnw
===================================================================
--- pkg/Rcpp/inst/doc/Rcpp-modules/Rcpp-modules.Rnw	2010-11-23 17:21:13 UTC (rev 2507)
+++ pkg/Rcpp/inst/doc/Rcpp-modules/Rcpp-modules.Rnw	2010-11-23 17:47:39 UTC (rev 2508)
@@ -105,7 +105,7 @@
     double res = norm( x, y ) ;
     
     // step 2: return the result as a SEXP
-    return Rcpp::wrap( res );
+    return wrap( res );
 }
 @
 



More information about the Rcpp-commits mailing list