Skip to content

Commit

Permalink
Revert a change
Browse files Browse the repository at this point in the history
  • Loading branch information
eddelbuettel committed Jun 2, 2024
1 parent 1a15629 commit 0f45325
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions inst/include/Rcpp/internal/export.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,7 @@ namespace Rcpp{
STORAGE* start = ::Rcpp::internal::r_vector_start<RTYPE>(y) ;
R_xlen_t size = ::Rf_xlength(y) ;
for( R_xlen_t i=0; i<size; i++){
T ii{i};
res[ii] = start[i] ;
res[i] = start[i] ;
}
}

Expand Down

0 comments on commit 0f45325

Please sign in to comment.