Skip to content

Commit

Permalink
remove workaround for StaticArrays API breakage now that they have fi…
Browse files Browse the repository at this point in the history
…xed it
  • Loading branch information
jrevels committed Aug 8, 2018
1 parent c1b63f0 commit af44411
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion REQUIRE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
julia 0.7-rc3
StaticArrays 0.5.0
StaticArrays 0.8.3
DiffResults 0.0.1
DiffRules 0.0.4
NaNMath 0.2.2
Expand Down
2 changes: 0 additions & 2 deletions test/JacobianTest.jl
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ cfgx = ForwardDiff.JacobianConfig(sin, x)
@test_throws ForwardDiff.InvalidTagException ForwardDiff.jacobian(f, x, cfgx)
@test ForwardDiff.jacobian(f, x, cfgx, Val{false}()) == ForwardDiff.jacobian(f,x)


########################
# test vs. Calculus.jl #
########################
Expand Down Expand Up @@ -173,7 +172,6 @@ cfg = ForwardDiff.JacobianConfig(nothing, x)
scfg = ForwardDiff.JacobianConfig(nothing, sx)

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

actual = ForwardDiff.jacobian(_diff, x)
@test ForwardDiff.jacobian(_diff, sx) == actual
Expand Down

0 comments on commit af44411

Please sign in to comment.