[Rcpp-commits] r3032 - pkg/RcppArmadillo/inst/include/RcppArmadillo
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Wed May 25 03:12:58 CEST 2011
Author: edd
Date: 2011-05-25 03:12:58 +0200 (Wed, 25 May 2011)
New Revision: 3032
Modified:
pkg/RcppArmadillo/inst/include/RcppArmadillo/Mat_meat.h
Log:
templated check 'isnt_same_type' is now 'is_same_type' in Armadillo
Modified: pkg/RcppArmadillo/inst/include/RcppArmadillo/Mat_meat.h
===================================================================
--- pkg/RcppArmadillo/inst/include/RcppArmadillo/Mat_meat.h 2011-05-25 01:04:14 UTC (rev 3031)
+++ pkg/RcppArmadillo/inst/include/RcppArmadillo/Mat_meat.h 2011-05-25 01:12:58 UTC (rev 3032)
@@ -37,7 +37,7 @@
// TODO : deal with complex expressions because
// std::complex<double> != Rcomplex
- isnt_same_type<eT, typename Rcpp::traits::storage_type<RTYPE>::type >::check();
+ is_same_type<eT, typename Rcpp::traits::storage_type<RTYPE>::type >::check();
set_size(X.size(), 1);
@@ -62,7 +62,7 @@
// TODO : deal with complex expressions because
// std::complex<double> != Rcomplex
- isnt_same_type<eT, typename Rcpp::traits::storage_type<RTYPE>::type >::check();
+ is_same_type<eT, typename Rcpp::traits::storage_type<RTYPE>::type >::check();
u32 nr = X.nrow(), nc = X.ncol(), i_col, i_row, k ;
set_size( nr, nc ) ;
More information about the Rcpp-commits
mailing list