diff options
Diffstat (limited to 'R/mkinpredict.R')
-rw-r--r-- | R/mkinpredict.R | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/R/mkinpredict.R b/R/mkinpredict.R index 3402a7ba..9e6ba31f 100644 --- a/R/mkinpredict.R +++ b/R/mkinpredict.R @@ -177,7 +177,8 @@ mkinpredict.mkinmod <- function(x, times = outtimes, func = "diffs", initfunc = "initpar", - dllname = inline::getDynLib(x$cf)[["name"]], + dllname = if (is.null(x$dll_info)) inline::getDynLib(x$cf)[["name"]] + else x$dll_info[["name"]], parms = odeparms[x$parms], # Order matters when using compiled models method = method.ode, atol = atol, |