Skip to content

Commit dbd9436

Browse files
author
Qiang Kou
committed
Rf_xlength
1 parent c09ecdd commit dbd9436

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

inst/include/Rcpp/DottedPairImpl.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@ namespace Rcpp{
6464
void replace( const int& index, const T& object ) ;
6565

6666
inline R_xlen_t length() const {
67-
return ::Rf_length(static_cast<const CLASS&>(*this).get__()) ;
67+
return ::Rf_xlength(static_cast<const CLASS&>(*this).get__()) ;
6868
}
6969

7070
inline R_xlen_t size() const {
71-
return ::Rf_length(static_cast<const CLASS&>(*this).get__()) ;
71+
return ::Rf_xlength(static_cast<const CLASS&>(*this).get__()) ;
7272
}
7373

7474
/**

0 commit comments

Comments
 (0)