Skip to content

Commit 8d5ba30

Browse files
committed
Use unqualified static_cast
1 parent a5e8dc4 commit 8d5ba30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inst/include/RcppEigenWrap.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ namespace Rcpp{
8787
T::ColsAtCompileTime>,
8888
const T&>::type objCopy(obj);
8989
int m = obj.rows(), n = obj.cols();
90-
R_xlen_t size = std::static_cast<R_xlen_t>(m) * n;
90+
R_xlen_t size = static_cast<R_xlen_t>(m) * n;
9191
SEXP ans = PROTECT(::Rcpp::wrap(objCopy.data(), objCopy.data() + size));
9292
if( T::ColsAtCompileTime != 1 ) {
9393
SEXP dd = PROTECT(::Rf_allocVector(INTSXP, 2));

0 commit comments

Comments
 (0)