Skip to content

Commit 98bc314

Browse files
author
Qiang Kou
committed
fixed sugar ifelse
1 parent 6218ce6 commit 98bc314

File tree

1 file changed

+2
-2
lines changed
  • inst/include/Rcpp/sugar/functions

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,8 +394,8 @@ template<
394394
inline sugar::IfElse_Primitive_Primitive< INTSXP,COND_NA,COND_T >
395395
ifelse(
396396
const Rcpp::VectorBase<LGLSXP,COND_NA,COND_T>& cond,
397-
R_xlen_t lhs,
398-
R_xlen_t rhs
397+
int lhs,
398+
int rhs
399399
){
400400
return sugar::IfElse_Primitive_Primitive<INTSXP,COND_NA,COND_T>( cond, lhs, rhs ) ;
401401
}

0 commit comments

Comments
 (0)