Skip to content

Commit 51075df

Browse files
committed
fix up solvers, prep for operator and compile changes
1 parent 70fba1e commit 51075df

File tree

4 files changed

+3
-6
lines changed

4 files changed

+3
-6
lines changed

src/solvers/klu.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,5 +378,4 @@ function LinearAlgebra.ldiv!(klu::LinearAlgebra.AdjOrTrans{Tv, K}, B::AbstractGB
378378
map!(complex, B, realX, imagX)
379379
end
380380
# No refactors for now. TODO: Enable refactors!!!
381-
382-
end
381+
end

src/solvers/umfpack.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ import SuiteSparse.UMFPACK: umfpack_numeric!, _AqldivB_kernel!,
2929
umfpack_extract, umfpack_symbolic!, _Aq_ldiv_B!, solve!, umf_lunz
3030
using SuiteSparse.LibSuiteSparse
3131
import SuiteSparse.LibSuiteSparse:
32-
SuiteSparse_long,
3332
umfpack_dl_defaults,
3433
umfpack_dl_report_control,
3534
umfpack_dl_report_info,

test/solvers/cholmod.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ using LinearAlgebra:
1313
PosDefException, ZeroPivotException
1414
using SparseArrays
1515
using SparseArrays: getcolptr
16-
using SuiteSparse.LibSuiteSparse: SuiteSparse_long
1716
using SuiteSparseGraphBLAS
1817
using SuiteSparse.LibSuiteSparse
1918
if Base.USE_GPL_LIBS

test/solvers/klu.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ using SuiteSparseGraphBLAS: GBDiagonal
5858

5959
@testset "Permutation vectors" begin
6060
#Just to test this works, we'll use the existing permutation vectors.
61-
@test klu_analyze!(klua, klua.p, klua.q).common.status == 0
61+
@test klu_analyze!(klua, klua.p, klua.q).common.status >= 0
6262
klu_factor!(klua)
6363
x = klua \ b
6464
@test A*x b
@@ -122,4 +122,4 @@ end
122122
F = klua.F
123123
@test !SuiteSparseGraphBLAS.isshallow(F)
124124
unsafeunpack!(A, SuiteSparseGraphBLAS.Sparse())
125-
end
125+
end

0 commit comments

Comments
 (0)