Skip to content

Commit 80123a1

Browse files
mcabbottoxinabox
andcommitted
Update test/utils.jl
Co-authored-by: Lyndon White <oxinabox@ucc.asn.au>
1 parent 35280d5 commit 80123a1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/utils.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ VERSION > v"1.6-" && @testset "diagonal hessian" begin
2626
# Gradient of ^ may contain log(complex(...)), which interacts badly with Dual below Julia 1.6:
2727
# julia> log(ForwardDiff.Dual(1,0) + 0im) # ERROR: StackOverflowError:
2828
# https://github.com/JuliaDiff/ChainRules.jl/issues/525
29+
# Fixed in 1.6 by: https://github.com/JuliaLang/julia/pull/36030
2930
xs, y = randn(2,3), rand()
3031
f34(xs, y) = xs[1] * (sum(xs .^ (1:3)') + y^4) # non-diagonal Hessian, two arguments
3132

0 commit comments

Comments
 (0)