Skip to content

Commit fb83768

Browse files
chore: format
1 parent 9a50122 commit fb83768

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/SciMLBaseZygoteExt.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ end
9191
f.(u, Ref(p), t)
9292
end
9393
gs = back(Δ)
94-
(u = gs[1], prob = (p = gs[2],),), nothing
94+
(u = gs[1], prob = (p = gs[2],)), nothing
9595
elseif i === nothing
9696
throw(error("Zygote AD of purely-symbolic slicing for observed quantities is not yet supported. Work around this by using `A[sym,i]` to access each element sequentially in the function being differentiated."))
9797
else
@@ -171,7 +171,7 @@ end
171171
f.f_oop(u, p)
172172
end
173173
gs = back(Δ)
174-
((u = gs[1], prob = (p = gs[2],),), nothing)
174+
((u = gs[1], prob = (p = gs[2],)), nothing)
175175
elseif i === nothing
176176
throw(error("Zygote AD of purely-symbolic slicing for observed quantities is not yet supported. Work around this by using `A[sym,i]` to access each element sequentially in the function being differentiated."))
177177
else

0 commit comments

Comments
 (0)