We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af46f2e commit 41267f1Copy full SHA for 41267f1
test/riemannian.jl
@@ -197,7 +197,7 @@ end
197
198
@testset "Autodiff utilities" begin
199
@test δ(finite_difference_gradient(ℓπ, x), ∂ℓπ∂θ(x)[end]) < 1e-4
200
- @test δ(finite_difference_hessian(Vfunc, x), Hfunc(x)[end]) < 1e-4
+ @test δ(finite_difference_hessian(Vfunc, x), Hfunc(x)) < 1e-4
201
@test δ(reshape_∂G∂θ(finite_difference_jacobian(Gfunc, x)), ∂G∂θfunc(x)) < 1e-4
202
end
203
0 commit comments