File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -98,14 +98,16 @@ let var"'" = Diffractor.PrimeDerivativeBack
9898 # TODO This currently causes a segfault, c.f. https://github.com/JuliaLang/julia/pull/48742
9999 # @test @inferred(complicated_2sin''''(1.0)) == 2sin''''(1.0) broken=true
100100
101- # Control flow cases
101+ # Control flow cases:
102+ # if
102103 @test @inferred ((x-> simple_control_flow (true , x))' (1.0 )) == sin' (1.0 )
103104 @test @inferred ((x-> simple_control_flow (false , x))' (1.0 )) == cos' (1.0 )
104105 @test (x-> sum (isa_control_flow (Matrix{Float64}, x)))' (Float32[1 2 ;]) == [1.0 1.0 ;]
105- @test times_three_while' (1.0 ) == 3.0
106-
106+
107+ # while
108+ # @test times_three_while'(1.0) == 3.0 # hangs in 1.11
107109 pow5p (x) = (x-> mypow (x, 5 ))' (x)
108- @test pow5p (1.0 ) == 5.0
110+ # @test pow5p(1.0) == 5.0 # hangs in 1.11
109111end
110112
111113end
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ const bwd = Diffractor.PrimeDerivativeBack
2424 " AbstractDifferentiationTests.jl"
2525 # "pinn.jl", # Higher order control flow not yet supported (https://github.com/JuliaDiff/Diffractor.jl/issues/24)
2626)
27+ @info " testing" file
2728 include (file)
2829end
2930
You can’t perform that action at this time.
0 commit comments