Skip to content

Commit

Permalink
Missed another spot.
Browse files Browse the repository at this point in the history
  • Loading branch information
LTLA committed Oct 24, 2023
1 parent 6707d64 commit f4bb7c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inst/include/Rcpp/vector/MatrixRow.h
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,8 @@ class ConstMatrixRow : public VectorBase< RTYPE, true, ConstMatrixRow<RTYPE> > {
int parent_nrow ;
int row ;

inline int get_parent_index(int i) const {
RCPP_DEBUG_4( "ConstMatrixRow<%d>::get_parent_index(int = %d), parent_nrow = %d >> %d\n", RTYPE, i, parent_nrow, i*parent_nrow )
inline R_xlen_t get_parent_index(int i) const {
RCPP_DEBUG_4( "ConstMatrixRow<%d>::get_parent_index(int = %d), parent_nrow = %d >> %d\n", RTYPE, i, parent_nrow, static_cast<R_xlen_t>(i) *parent_nrow )
return static_cast<R_xlen_t>(i) * parent_nrow ;
}
} ;
Expand Down

0 comments on commit f4bb7c4

Please sign in to comment.