Skip to content

Commit d6c44da

Browse files
author
oscarddssmith
committed
fix
1 parent 08fa265 commit d6c44da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/initialize_dae.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ function _initialize_dae!(integrator, prob::ODEProblem, alg::ShampineCollocation
157157
@. tmp = (u0 - u) / dt
158158
mul!(_vec(out), M, _vec(tmp))
159159
f(tmp, u, p, t)
160-
out .-= tmp
160+
out .+= tmp
161161
nothing
162162
end
163163

0 commit comments

Comments
 (0)