[Rcpp-commits] r1253 - pkg/RcppExamples/src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon May 17 10:20:37 CEST 2010


Author: romain
Date: 2010-05-17 10:20:37 +0200 (Mon, 17 May 2010)
New Revision: 1253

Modified:
   pkg/RcppExamples/src/RcppMatrixExample.cpp
   pkg/RcppExamples/src/RcppVectorExample.cpp
Log:
trying to please suncc

Modified: pkg/RcppExamples/src/RcppMatrixExample.cpp
===================================================================
--- pkg/RcppExamples/src/RcppMatrixExample.cpp	2010-05-17 07:39:29 UTC (rev 1252)
+++ pkg/RcppExamples/src/RcppMatrixExample.cpp	2010-05-17 08:20:37 UTC (rev 1253)
@@ -22,6 +22,7 @@
 // along with Rcpp.  If not, see <http://www.gnu.org/licenses/>.
 
 #include <Rcpp.h>
+#include <cmath>
 
 RcppExport SEXP newRcppMatrixExample(SEXP matrix) {
 

Modified: pkg/RcppExamples/src/RcppVectorExample.cpp
===================================================================
--- pkg/RcppExamples/src/RcppVectorExample.cpp	2010-05-17 07:39:29 UTC (rev 1252)
+++ pkg/RcppExamples/src/RcppVectorExample.cpp	2010-05-17 08:20:37 UTC (rev 1253)
@@ -22,6 +22,7 @@
 // along with Rcpp.  If not, see <http://www.gnu.org/licenses/>.
 
 #include <Rcpp.h>
+#include <cmath>
 
 RcppExport SEXP newRcppVectorExample(SEXP vector) {
 



More information about the Rcpp-commits mailing list