Skip to content

Commit 6774e5d

Browse files
Merge pull request SciML#2290 from SciML/rosenbrock_alloc
Remove Rodas interpolation error allocation
2 parents add0bad + ba512f0 commit 6774e5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/perform_step/rosenbrock_perform_step.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1947,7 +1947,7 @@ end
19471947

19481948
if integrator.opts.adaptive
19491949
if (integrator.alg isa Rodas5Pe)
1950-
du = 0.2606326497975715 * k1 - 0.005158627295444251 * k2 +
1950+
@. du = 0.2606326497975715 * k1 - 0.005158627295444251 * k2 +
19511951
1.3038988631109731 * k3 + 1.235000722062074 * k4 +
19521952
-0.7931985603795049 * k5 - 1.005448461135913 * k6 -
19531953
0.18044626132120234 * k7 + 0.17051519239113755 * k8

0 commit comments

Comments
 (0)