diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2015-04-16 13:21:36 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2015-04-16 13:21:36 +0200 |
commit | e610eb47f460bdb16a1160c9e4cc6fd7051d2546 (patch) | |
tree | 5eb8c6cefe515b9651b17d695bb5d8226499800d /R | |
parent | f2a03cedb1a5f239185ce6c4b3b4eff2fe3636bd (diff) |
Order of parameters needs to be right for compiled models
Diffstat (limited to 'R')
-rw-r--r-- | R/mkinpredict.R | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/R/mkinpredict.R b/R/mkinpredict.R index 3e3ca0bf..3121f1d7 100644 --- a/R/mkinpredict.R +++ b/R/mkinpredict.R @@ -108,7 +108,7 @@ mkinpredict <- function(mkinmod, odeparms, odeini, y = odeini, times = outtimes, func = mkindiff, - parms = odeparms, + parms = odeparms[mkinmod$parms], # Order matters when using compiled models method = method.ode, atol = atol, rtol = rtol, |