Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Dec 11, 2023
1 parent b185133 commit 92cca24
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/perform_step/rosenbrock_perform_step.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 92cca24

Please sign in to comment.