Skip to content

Commit bc56c05

Browse files
committed
skip sparse_ldiv() tests
1 parent 1457f0a commit bc56c05

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/JacobianTest.jl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,10 @@ end
105105
@testset "Comparison vs Calculus.jl" begin
106106

107107
@testset "$f(x::Vector)::Vector" for f in DiffTests.VECTOR_TO_VECTOR_FUNCS
108+
# skip sparse_ldiv() due to missing ldiv!(::Matrix, ::SparseMatrix, ::Matrix)
109+
# FIMXE use @test ... broken= once Julia v1.0 support is dropped
110+
(f == DiffTests.sparse_ldiv) && continue
111+
108112
v = f(X)
109113
j = ForwardDiff.jacobian(f, X)
110114
@test isapprox(j, Calculus.jacobian(f, X, :forward), atol=1.3FINITEDIFF_ERROR)
@@ -127,6 +131,10 @@ end
127131
end
128132

129133
@testset "$f(x::Matrix)::Matrix" for f in DiffTests.MATRIX_TO_MATRIX_FUNCS
134+
# skip sparse_ldiv() due to missing ldiv!(::Matrix, ::SparseMatrix, ::Matrix)
135+
# FIMXE use @test ... broken= once Julia v1.0 support is dropped
136+
(f == DiffTests.sparse_ldiv) && continue
137+
130138
v = f(XX)
131139
j = ForwardDiff.jacobian(f, XX)
132140
@test isapprox(j, Calculus.jacobian(x -> vec(f(reshape(x, size(XX)))), vec(XX), :forward), atol=2.5FINITEDIFF_ERROR)

0 commit comments

Comments
 (0)