Skip to content

Commit eac3d53

Browse files
committed
fix typo in vec_pjac! of GaussAdjoint for SciMLStructures
1 parent ec8603f commit eac3d53

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
@@ -514,7 +514,7 @@ function vec_pjac!(out, λ, y, t, S::GaussIntegrand)
514514
Enzyme.Const(y), Enzyme.Duplicated(p, dp), Enzyme.Const(t))
515515
end
516516
if isscimlstructure(p)
517-
out .+= canonicalize(Tunable(), dp)[1]
517+
out .= canonicalize(Tunable(), dp)[1]
518518
end
519519
elseif sensealg.autojacvec isa MooncakeVJP
520520
_, _, p_grad = mooncake_run_ad(paramjac_config, y, p, t, λ)

0 commit comments

Comments
 (0)