Skip to content

Commit a83cd29

Browse files
chore: reverse order of nothing check
1 parent f934635 commit a83cd29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/concrete_solve.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1792,7 +1792,7 @@ function DiffEqBase._concrete_solve_adjoint(
17921792
end
17931793
end
17941794

1795-
dp = Zygote.accum(dp, (isempty(Δtunables) || isnothing(Δtunables)) ? nothing : Δtunables)
1795+
dp = Zygote.accum(dp, (isnothing(Δtunables) || isempty(Δtunables)) ? nothing : Δtunables)
17961796

17971797
if originator isa SciMLBase.TrackerOriginator ||
17981798
originator isa SciMLBase.ReverseDiffOriginator

0 commit comments

Comments
 (0)