-
-
Notifications
You must be signed in to change notification settings - Fork 219
Closed
Description
The constructor does not set nrows
. https://github.com/RcppCore/Rcpp/blob/master/inst/include/Rcpp/vector/Matrix.h#L92
explicit Matrix( const no_init_matrix& obj) {
VECTOR::set__( Rf_allocMatrix( RTYPE, obj.nrow(), obj.ncol() ) );
}
I have a patch that I'll submit as a pull request.
eddelbuettel
Metadata
Metadata
Assignees
Labels
No labels