Skip to content

Commit 466de85

Browse files
authored
remove workaround for StaticArrays API breakage now that they have fixed it (#343)
1 parent c1b63f0 commit 466de85

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

REQUIRE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
julia 0.7-rc3
2-
StaticArrays 0.5.0
2+
StaticArrays 0.8.3
33
DiffResults 0.0.1
44
DiffRules 0.0.4
55
NaNMath 0.2.2

test/JacobianTest.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ cfgx = ForwardDiff.JacobianConfig(sin, x)
9494
@test_throws ForwardDiff.InvalidTagException ForwardDiff.jacobian(f, x, cfgx)
9595
@test ForwardDiff.jacobian(f, x, cfgx, Val{false}()) == ForwardDiff.jacobian(f,x)
9696

97-
9897
########################
9998
# test vs. Calculus.jl #
10099
########################
@@ -173,7 +172,6 @@ cfg = ForwardDiff.JacobianConfig(nothing, x)
173172
scfg = ForwardDiff.JacobianConfig(nothing, sx)
174173

175174
_diff(A) = diff(A; dims=1)
176-
_diff(A::StaticArray) = diff(A) # StaticArray's don't use dims kwarg (yet)
177175

178176
actual = ForwardDiff.jacobian(_diff, x)
179177
@test ForwardDiff.jacobian(_diff, sx) == actual

0 commit comments

Comments
 (0)