We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35280d5 commit 80123a1Copy full SHA for 80123a1
test/utils.jl
@@ -26,6 +26,7 @@ VERSION > v"1.6-" && @testset "diagonal hessian" begin
26
# Gradient of ^ may contain log(complex(...)), which interacts badly with Dual below Julia 1.6:
27
# julia> log(ForwardDiff.Dual(1,0) + 0im) # ERROR: StackOverflowError:
28
# https://github.com/JuliaDiff/ChainRules.jl/issues/525
29
+ # Fixed in 1.6 by: https://github.com/JuliaLang/julia/pull/36030
30
xs, y = randn(2,3), rand()
31
f34(xs, y) = xs[1] * (sum(xs .^ (1:3)') + y^4) # non-diagonal Hessian, two arguments
32
0 commit comments