From 50ea6d11f8c79218c98ee8ae56d8bdcd42cc703a Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Sat, 15 Apr 2023 14:43:07 +0200 Subject: Don't try(mkinpredict), it would still error later --- R/plot.mkinfit.R | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/R/plot.mkinfit.R b/R/plot.mkinfit.R index 9606507a..9f19213a 100644 --- a/R/plot.mkinfit.R +++ b/R/plot.mkinfit.R @@ -146,9 +146,8 @@ plot.mkinfit <- function(x, fit = x, func = "diffs", initfunc = "initpar", jacfunc = NULL, nout = 0, outnames = NULL) } - out <- try(mkinpredict(fit$mkinmod, odeparms, odeini, outtimes, - solution_type = solution_type, atol = fit$atol, rtol = fit$rtol), - silent = TRUE) + out <- mkinpredict(fit$mkinmod, odeparms, odeini, outtimes, + solution_type = solution_type, atol = fit$atol, rtol = fit$rtol) out <- as.data.frame(out) -- cgit v1.2.1