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"
15
15
[compat ]
16
16
Cassette = " 0.3.0"
17
17
ChainRules = " 0.3"
18
- ChainRulesCore = " 0.5.1 "
18
+ ChainRulesCore = " 0.5"
19
19
StaticArrays = " 0.11, 0.12"
20
20
21
21
[extras ]
Original file line number Diff line number Diff line change @@ -15,4 +15,7 @@ using StaticArrays
15
15
# Hessian
16
16
@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. ]
17
17
@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 )
18
21
end
You can’t perform that action at this time.
0 commit comments