We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5e8dc4 commit 8d5ba30Copy full SHA for 8d5ba30
inst/include/RcppEigenWrap.h
@@ -87,7 +87,7 @@ namespace Rcpp{
87
T::ColsAtCompileTime>,
88
const T&>::type objCopy(obj);
89
int m = obj.rows(), n = obj.cols();
90
- R_xlen_t size = std::static_cast<R_xlen_t>(m) * n;
+ R_xlen_t size = static_cast<R_xlen_t>(m) * n;
91
SEXP ans = PROTECT(::Rcpp::wrap(objCopy.data(), objCopy.data() + size));
92
if( T::ColsAtCompileTime != 1 ) {
93
SEXP dd = PROTECT(::Rf_allocVector(INTSXP, 2));
0 commit comments