[Rcpp-commits] r3197 - pkg/Rcpp/inst/examples/Misc
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue Sep 13 19:13:04 CEST 2011
Author: edd
Date: 2011-09-13 19:13:04 +0200 (Tue, 13 Sep 2011)
New Revision: 3197
Modified:
pkg/Rcpp/inst/examples/Misc/fibonacci.r
Log:
just whitespace
Modified: pkg/Rcpp/inst/examples/Misc/fibonacci.r
===================================================================
--- pkg/Rcpp/inst/examples/Misc/fibonacci.r 2011-09-13 16:22:00 UTC (rev 3196)
+++ pkg/Rcpp/inst/examples/Misc/fibonacci.r 2011-09-13 17:13:04 UTC (rev 3197)
@@ -22,9 +22,9 @@
## now use the snipped above as well as one argument conversion
## in as well as out to provide Fibonacci numbers via C++
fibRcpp <- cxxfunction(signature(xs="int"),
- plugin="Rcpp",
- incl=incltxt,
- body='
+ plugin="Rcpp",
+ incl=incltxt,
+ body='
int x = Rcpp::as<int>(xs);
return Rcpp::wrap( fibonacci(x) );
')
More information about the Rcpp-commits
mailing list