Skip to content

Commit ad6f6bd

Browse files
author
Qiang Kou
committed
typo fixed
1 parent 8d3880f commit ad6f6bd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

inst/include/Rcpp/sugar/functions/rep.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class Rep_Single : public Rcpp::VectorBase<
6060

6161
private:
6262
const T& x ;
63-
int R_xlen_t ;
63+
R_xlen_t n;
6464
} ;
6565

6666
} // sugar

inst/include/Rcpp/vector/ChildVector.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class ChildVector : public T {
2727

2828
public:
2929

30-
ChildVector(SEXP data_, SEXP parent_, int i_):
30+
ChildVector(SEXP data_, SEXP parent_, R_xlen_t i_):
3131
T(data_),
3232
parent(parent_),
3333
i(i_) {}
@@ -68,7 +68,7 @@ class ChildVector : public T {
6868

6969
private:
7070
SEXP parent;
71-
int i;
71+
R_xlen_t i;
7272
};
7373

7474
} // namespace Rcpp

0 commit comments

Comments
 (0)