Closed meson800 closed 11 months ago
Thanks @meson800! when you are done with updates could you run JuliaFormatter version 1.0.32 on the PR to pass the formatting check?
Formatting and changes done, should be good to go! (but needs another CI run approval)
Totals | |
---|---|
Change from base Build 5588672874: | 0.009% |
Covered Lines: | 2225 |
Relevant Lines: | 2516 |
Thanks @meson800 for taking care of this!
9.7.2 with your fix should be out shortly.
This change reduces the number of allocations (to zero!) required to take the norm of an ExtendedJumpArray. Previously, ODE_DEFAULT_NORM fell back to a default, allocating implementation.
I also added tests to check that this norm definition is equivalent to the old one, using (stable) random ExtendedJumpArrays. There's also a test that checks that the new norm dispatch is not allocating.
This should close SciML/DifferentialEquations.jl#969