[Rcpp-commits] r751 - pkg/RcppArmadillo/src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Feb 19 17:21:03 CET 2010


Author: romain
Date: 2010-02-19 17:21:02 +0100 (Fri, 19 Feb 2010)
New Revision: 751

Modified:
   pkg/RcppArmadillo/src/RcppArmadillo.h
Log:
remove unused macros

Modified: pkg/RcppArmadillo/src/RcppArmadillo.h
===================================================================
--- pkg/RcppArmadillo/src/RcppArmadillo.h	2010-02-19 16:13:31 UTC (rev 750)
+++ pkg/RcppArmadillo/src/RcppArmadillo.h	2010-02-19 16:21:02 UTC (rev 751)
@@ -57,9 +57,6 @@
 RcppExport SEXP RcppArmadilloExample_as_Col( SEXP );
 RcppExport SEXP RcppArmadilloExample_as_Row( SEXP );
 
-#define RCPPARMA_COPY(in,out,n) for( int i=0; i<n; i++) { out[i] = in[i] ; } 
-#define RCPPARMA_COPY_CAST(in,out,n,TYPE) for( int i=0; i<n; i++) { out[i] = static_cast<TYPE>(in[i]) ; } 
-
 namespace Rcpp{
 namespace RcppArmadillo{
 



More information about the Rcpp-commits mailing list