diff --git a/src/init.cpp b/src/init.cpp index 174c5df..13815f6 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -11,7 +11,7 @@ using namespace Rcpp; extern "C" { #endif -SEXP var_context(SEXP file_path); +SEXP var_context_(SEXP file_path); SEXP call_stan_(SEXP options_vector, SEXP ll_fun, SEXP grad_fun); SEXP parse_csv_(SEXP filename_); SEXP constrain_pars_(SEXP pars_, SEXP lower_, SEXP upper_); @@ -25,7 +25,7 @@ SEXP unconstrain_pars_(SEXP pars_, SEXP lower_, SEXP upper_); #define CALLDEF(name, n) {#name, (DL_FUNC) &name, n} static const R_CallMethodDef CallEntries[] = { - CALLDEF(var_context, 1), + CALLDEF(var_context_, 1), CALLDEF(call_stan_, 3), CALLDEF(parse_csv_, 1), CALLDEF(constrain_pars_, 3),