aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2015-04-16 13:21:36 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2015-04-16 13:21:36 +0200
commite610eb47f460bdb16a1160c9e4cc6fd7051d2546 (patch)
tree5eb8c6cefe515b9651b17d695bb5d8226499800d
parentf2a03cedb1a5f239185ce6c4b3b4eff2fe3636bd (diff)
Order of parameters needs to be right for compiled models
-rw-r--r--R/mkinpredict.R2
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,

Contact - Imprint