aboutsummaryrefslogtreecommitdiff
path: root/R/mkinpredict.R
diff options
context:
space:
mode:
Diffstat (limited to 'R/mkinpredict.R')
-rw-r--r--R/mkinpredict.R4
1 files changed, 3 insertions, 1 deletions
diff --git a/R/mkinpredict.R b/R/mkinpredict.R
index 49166f3..2b7e51d 100644
--- a/R/mkinpredict.R
+++ b/R/mkinpredict.R
@@ -17,7 +17,9 @@ mkinpredict <- function(mkinmod, odeparms, odeini, outtimes, solution_type = "de
o <- switch(parent.type,
SFO = SFO.solution(outtimes,
evalparse(parent.name),
- evalparse(paste("k", parent.name, sep="_"))),
+ ifelse(mkinmod$use_of_ff == "min",
+ evalparse(paste("k", parent.name, "sink", sep="_")),
+ evalparse(paste("k", parent.name, sep="_")))),
FOMC = FOMC.solution(outtimes,
evalparse(parent.name),
evalparse("alpha"), evalparse("beta")),

Contact - Imprint