File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
1515[compat ]
1616Cassette = " 0.3.0"
1717ChainRules = " 0.3"
18- ChainRulesCore = " 0.5.1 "
18+ ChainRulesCore = " 0.5"
1919StaticArrays = " 0.11, 0.12"
2020
2121[extras ]
Original file line number Diff line number Diff line change @@ -15,4 +15,7 @@ using StaticArrays
1515 # Hessian
1616 @test D (D (x-> x[1 ]^ x[2 ] + x[3 ]^ 3 + x[3 ]* x[2 ]* x[1 ]))(@SVector [1 ,2 ,3 ]) === @SMatrix [2 4 2 ; 4 0 1 ; 2 1 18. ]
1717 @test D (D (x-> x[1 ]^ x[2 ] + x[3 ]^ 3 + x[3 ]* x[2 ]* x[1 ]))([1 ,2 ,3 ]) == [2 4 2 ; 4 0 1 ; 2 1 18. ]
18+ # inference
19+ # broken due to `Core._apply`
20+ @test_broken @inferred D (x-> exp (x) + x^ x + cos (x) + tan (x) + 2 ^ x + log (cos (x)) + sec (pi * x) - angle (x) + one (x) / log1p (sin (x)))(1 )
1821end
You can’t perform that action at this time.
0 commit comments