Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Mar 8, 2024
1 parent a41a366 commit 8070ab4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/adjoint_shapes.jl
Expand Up @@ -64,7 +64,7 @@ end

function loss(p)
prob = ODEProblem(dudt, [3.0], (0.0, 1.0), p)
sol = solve(prob, Tsit5(), dt=0.01, sensealg=ReverseDiffAdjoint())
sol = solve(prob, Tsit5(), dt = 0.01, sensealg = ReverseDiffAdjoint())
sum(abs2, Array(sol))
end
Zygote.gradient(loss, p)

0 comments on commit 8070ab4

Please sign in to comment.