From 92cca245c1580f2649bd4dffe1ba72633d4a50fb Mon Sep 17 00:00:00 2001 From: Christopher Rackauckas Date: Mon, 11 Dec 2023 11:04:50 -0500 Subject: [PATCH] fix typo --- src/perform_step/rosenbrock_perform_step.jl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/perform_step/rosenbrock_perform_step.jl b/src/perform_step/rosenbrock_perform_step.jl index 88f01831f7..b981dfa240 100644 --- a/src/perform_step/rosenbrock_perform_step.jl +++ b/src/perform_step/rosenbrock_perform_step.jl @@ -124,8 +124,8 @@ end integrator.EEst = integrator.opts.internalnorm(atmp, t) if mass_matrix !== I - @.. broadcast=false vectmp = ifelse(cache.algebraic_vars,fsallast,false)/integrator.opts.abstol - integrator.EEst += integrator.opts.internalnorm(vectmp, t) + @.. broadcast=false atmp = ifelse(cache.algebraic_vars,fsallast,false)/integrator.opts.abstol + integrator.EEst += integrator.opts.internalnorm(atmp, t) end end cache.linsolve = linres.cache @@ -357,8 +357,8 @@ end integrator.EEst = integrator.opts.internalnorm(atmp, t) if mass_matrix !== I - @.. broadcast=false vectmp = ifelse(cache.algebraic_vars,fsallast,false)/integrator.opts.abstol - integrator.EEst += integrator.opts.internalnorm(vectmp, t) + @.. broadcast=false atmp = ifelse(cache.algebraic_vars,fsallast,false)/integrator.opts.abstol + integrator.EEst += integrator.opts.internalnorm(atmp, t) end end cache.linsolve = linres.cache