Skip to content

Commit e9db599

Browse files
committed
Corrected return type of column size accessor
1 parent 463ea32 commit e9db599

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

ChangeLog

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
2017-01-23 James J Balamuta <[email protected]>
2+
3+
* inst/include/Rcpp/DataFrame.h: Corrected return type for column size.
4+
5+
2017-01-22 Dirk Eddelbuettel <[email protected]>
6+
7+
* inst/include/Rcpp/DataFrame.h: Simplified and removed deprecation language.
8+
19
2017-01-21 James J Balamuta <[email protected]>
210

311
* inst/include/Rcpp/DataFrame.h: Added alias for column and row size

inst/include/Rcpp/DataFrame.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ namespace Rcpp{
8787
inline int nrows() const { return DataFrame_Impl::nrow(); }
8888
inline int rows() const { return DataFrame_Impl::nrow(); }
8989

90-
inline int ncol() const { return DataFrame_Impl::length(); }
91-
inline int cols() const { return DataFrame_Impl::length(); }
90+
inline R_xlen_t ncol() const { return DataFrame_Impl::length(); }
91+
inline R_xlen_t cols() const { return DataFrame_Impl::length(); }
9292

9393
static DataFrame_Impl create(){
9494
return DataFrame_Impl() ;

0 commit comments

Comments
 (0)