Skip to content

Commit 6154316

Browse files
Update gauss_adjoint.jl
1 parent ebff105 commit 6154316

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gauss_adjoint.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ function vec_pjac!(out, λ, y, t, S::GaussIntegrand)
498498
Enzyme.remake_zero!(tmp6)
499499

500500
Enzyme.autodiff(
501-
Enzyme.Reverse, Enzyme.Duplicated(pf, tmp6), Enzyme.Const,
501+
Enzyme.Reverse, Enzyme.Duplicated(SciMLBase.Void(pf), tmp6), Enzyme.Const,
502502
Enzyme.Duplicated(tmp3, tmp4),
503503
Enzyme.Const(y), Enzyme.Duplicated(p, out), Enzyme.Const(t))
504504
else
@@ -616,4 +616,4 @@ function _adjoint_sensitivities(sol, sensealg::GaussAdjoint, alg; t = nothing,
616616
end
617617

618618
__maybe_adjoint(x::AbstractArray) = x'
619-
__maybe_adjoint(x) = x
619+
__maybe_adjoint(x) = x

0 commit comments

Comments
 (0)