Skip to content

Commit

Permalink
updated RcppExportsIni.c to work with newest RCPP version
Browse files Browse the repository at this point in the history
  • Loading branch information
TankredO committed Aug 23, 2017
1 parent f4b0842 commit 04d0cf9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion PhyloSim/R/RcppExports.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
#' Core phylosim model
#' @export
callModel <- function(x, y, dispersal, runs, specRate, dens, env, neutral, mort, mortStrength, repro, dispersalCutoff, densityCutoff, seed, envStrength, compStrength, fission, redQueen, redQueenStrength, protracted, airmatR, soilmatR) {
.Call('PhyloSim_callModel', PACKAGE = 'PhyloSim', x, y, dispersal, runs, specRate, dens, env, neutral, mort, mortStrength, repro, dispersalCutoff, densityCutoff, seed, envStrength, compStrength, fission, redQueen, redQueenStrength, protracted, airmatR, soilmatR)
.Call(`_PhyloSim_callModel`, x, y, dispersal, runs, specRate, dens, env, neutral, mort, mortStrength, repro, dispersalCutoff, densityCutoff, seed, envStrength, compStrength, fission, redQueen, redQueenStrength, protracted, airmatR, soilmatR)
}

4 changes: 2 additions & 2 deletions PhyloSim/src/RcppExportsIni.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ See also comments here https://github.com/florianhartig/BayesianTools/issues/31
*/

/* .Call calls */
extern SEXP PhyloSim_callModel(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP,
extern SEXP _PhyloSim_callModel(SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP,
SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP,
SEXP, SEXP, SEXP, SEXP, SEXP, SEXP, SEXP,
SEXP, SEXP, SEXP, SEXP, SEXP);

static const R_CallMethodDef CallEntries[] = {
{"PhyloSim_callModel", (DL_FUNC) &PhyloSim_callModel, 22},
{"PhyloSim_callModel", (DL_FUNC) &_PhyloSim_callModel, 22},
{NULL, NULL, 0}
};

Expand Down

0 comments on commit 04d0cf9

Please sign in to comment.