From e1bca91b1bdc11587e8f5e109d2b5b5221d1f755 Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas <accounts@chrisrackauckas.com> Date: Sun, 17 Mar 2024 19:54:23 -0400 Subject: [PATCH] Update R/diffeqr.R --- R/diffeqr.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/diffeqr.R b/R/diffeqr.R index fbadf0a..a442086 100644 --- a/R/diffeqr.R +++ b/R/diffeqr.R @@ -70,7 +70,7 @@ jitoptimize_ode <- function (de,prob){ mtk <- julia_pkg_import("ModelingToolkit",functions) odesys = mtk$modelingtoolkitize(prob) - odesys = mtk$structural_simplify(odesys) + odesys = mtk$complete(odesys) JuliaCall::julia_assign("odesys", odesys) jul_f = JuliaCall::julia_eval("jitf = ODEFunction(odesys,jac=true)")