aboutsummaryrefslogtreecommitdiff
path: root/R/mkinpredict.R
diff options
context:
space:
mode:
Diffstat (limited to 'R/mkinpredict.R')
-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