File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -79,8 +79,8 @@ namespace traits{
79
79
void update ( const VECTOR& v ){
80
80
p = const_cast <VECTOR*>(&v) ;
81
81
}
82
- inline iterator get () const { check_index ( 0 ); return iterator ( proxy (*p, 0 ) ) ;}
83
- inline const_iterator get_const () const { check_index ( 0 ); return const_iterator ( const_proxy (*p, 0 ) ) ; }
82
+ inline iterator get () const { return iterator ( proxy (*p, 0 ) ) ;}
83
+ inline const_iterator get_const () const { return const_iterator ( const_proxy (*p, 0 ) ) ; }
84
84
85
85
inline proxy ref () { check_index (0 ); return proxy (*p,0 ) ; }
86
86
inline proxy ref (R_xlen_t i) { check_index (i); return proxy (*p,i);}
Original file line number Diff line number Diff line change @@ -43,5 +43,5 @@ if (requireNamespace("tinytest", quietly=TRUE)) {
43
43
# # there are several more granular ways to test files in a tinytest directory,
44
44
# # see its package vignette; tests can also run once the package is installed
45
45
# # using the same command `test_package(pkgName)`, or by director or file
46
- tinytest :: test_package(" Rcpp" , ncpu = getOption(" Ncpus" , 1 ))
46
+ tinytest :: test_package(" Rcpp" , ncpu = getOption(" Ncpus" ))
47
47
}
You can’t perform that action at this time.
0 commit comments