Skip to content

Commit af830be

Browse files
committed
fix typo in vec_pjac! of GaussAdjoint for SciMLStructures
1 parent 06cabdf commit af830be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gauss_adjoint.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ function vec_pjac!(out, λ, y, t, S::GaussIntegrand)
516516
Enzyme.Const(y), Enzyme.Duplicated(p, dp), Enzyme.Const(t))
517517
end
518518
if isscimlstructure(p)
519-
out .+= canonicalize(Tunable(), dp)[1]
519+
out .= canonicalize(Tunable(), dp)[1]
520520
end
521521
elseif sensealg.autojacvec isa MooncakeVJP
522522
_, _, p_grad = mooncake_run_ad(paramjac_config, y, p, t, λ)

0 commit comments

Comments
 (0)