[Rcpp-commits] r3787 - pkg/Rcpp/inst/unitTests
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon Oct 1 02:24:43 CEST 2012
Author: edd
Date: 2012-10-01 02:24:43 +0200 (Mon, 01 Oct 2012)
New Revision: 3787
Modified:
pkg/Rcpp/inst/unitTests/runit.sugarOps.R
Log:
typo/thinko
Modified: pkg/Rcpp/inst/unitTests/runit.sugarOps.R
===================================================================
--- pkg/Rcpp/inst/unitTests/runit.sugarOps.R 2012-10-01 00:12:26 UTC (rev 3786)
+++ pkg/Rcpp/inst/unitTests/runit.sugarOps.R 2012-10-01 00:24:43 UTC (rev 3787)
@@ -23,7 +23,7 @@
"vector_scalar_ops" = list(signature(x = "numeric"),
'
NumericVector xx(x);
- NumericVector y1 = xx + 2.0; // NB does not work with ints as eg '+ 2L'
+ NumericVector y1 = xx + 2.0; // NB does not work with ints as eg "+ 2L"
NumericVector y2 = 2 - xx;
NumericVector y3 = xx * 2.0;
NumericVector y4 = 2.0 / xx;
More information about the Rcpp-commits
mailing list