[Rcpp-commits] r2269 - pkg/Rcpp/inst/doc

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Oct 6 15:50:48 CEST 2010


Author: edd
Date: 2010-10-06 15:50:48 +0200 (Wed, 06 Oct 2010)
New Revision: 2269

Modified:
   pkg/Rcpp/inst/doc/Rcpp-introduction.Rnw
Log:
add missing return statement with thanks to Martyn


Modified: pkg/Rcpp/inst/doc/Rcpp-introduction.Rnw
===================================================================
--- pkg/Rcpp/inst/doc/Rcpp-introduction.Rnw	2010-10-04 11:24:36 UTC (rev 2268)
+++ pkg/Rcpp/inst/doc/Rcpp-introduction.Rnw	2010-10-06 13:50:48 UTC (rev 2269)
@@ -403,7 +403,7 @@
 
   v.push_back( m1 );
   v.push_back( m2 );
-  Rcpp::wrap( v );
+  return Rcpp::wrap( v );
 \}
 \end{example}
 



More information about the Rcpp-commits mailing list