Skip to content

Commit

Permalink
use Rcpp_eval for ExpressionVector
Browse files Browse the repository at this point in the history
  • Loading branch information
Enchufa2 committed Jul 23, 2022
1 parent 6812b76 commit 666fa8c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions inst/include/Rcpp/vector/Vector.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//
// Vector.h: Rcpp R/C++ interface class library -- vectors
//
// Copyright (C) 2010 - 2020 Dirk Eddelbuettel and Romain Francois
// Copyright (C) 2010 - 2022 Dirk Eddelbuettel and Romain Francois
//
// This file is part of Rcpp.
//
Expand Down Expand Up @@ -1128,11 +1128,11 @@ class Vector :
public:

inline SEXP eval() const {
return Rcpp_fast_eval( Storage::get__(), R_GlobalEnv ) ;
return Rcpp_eval( Storage::get__(), R_GlobalEnv ) ;
}

inline SEXP eval(SEXP env) const {
return Rcpp_fast_eval( Storage::get__(), env );
return Rcpp_eval( Storage::get__(), env );
}


Expand Down

0 comments on commit 666fa8c

Please sign in to comment.