Skip to content

Commit

Permalink
Update deps/versions.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison committed Nov 7, 2022
1 parent dd13cf2 commit be15a7d
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 8 deletions.
1 change: 1 addition & 0 deletions deps/versions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ hsl_collection["ma51"] = []
hsl_collection["ma52"] = []
hsl_collection["hsl_ma54"] = []
hsl_collection["hsl_ma55"] = []
hsl_collection["ma57"] = []
hsl_collection["hsl_ma57"] = [
HSLVersion("5.2.0", "aedc5a3e22a7b86779efccaa89a7c82b6949768dbab35fceb85a347e326cf584", ".tar.gz"),
HSLVersion("5.2.0", "caa11e4b5534886fc63f30a8d68302833146352a936aeab89392c35ccc24bf4a", ".zip"),
Expand Down
2 changes: 0 additions & 2 deletions src/hsl_mc66.jl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ function mc66_control{T}(; lp=6, wp=6, mp=6, print_level=-1, kl_aggressive=-1, m
return control
end

#! format: off
# Thanks to `nm -D libhsl_mc66.so`!
function mc66s(m, n, nz, irn, jcn, nblocks, control, seed, row_order, info, rowptr, column_order, colptr, netcut, rowdiff, kblocks)
ccall((:__hsl_mc66_simple_MOD_monet, libhsl_mc66),
Expand Down Expand Up @@ -62,7 +61,6 @@ function mc66d_print_message(info, control)
(Ref{Int32}, Ref{Int32}, Ref{Int32}, Cstring),
info , control.lp, control.wp, context)
end
#! format: on

"""
rp, cp = mc66(A::SparseMatrixCSC, k::Integer)
Expand Down
2 changes: 0 additions & 2 deletions src/mc21.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,12 @@ export mc21
# n , icn , licn , ip , lenr , iperm , numnz , iw )
# end

#! format: off
function mc21ad(n, icn, licn, ip, lenr, iperm, numnz, iw)
ccall(("mc21ad_", libmc21),
Cvoid,
(Ref{Cint}, Ptr{Cint}, Ref{Cint}, Ptr{Cint}, Ptr{Cint}, Ptr{Cint}, Ref{Cint}, Ptr{Cint}),
n , icn , licn , ip , lenr , iperm , numnz , iw )
end
#! format: on

"""
p = mc21(A::SparseMatrixCSC; sym::Bool=false)
Expand Down
2 changes: 0 additions & 2 deletions test/test_hsl_mc66.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@testset "hsl_mc66" begin
#! format: off
A = [1 1 0 0;
1 0 1 1;
1 1 0 0;
Expand All @@ -9,7 +8,6 @@
1 0 0 1;
0 1 1 1;
0 1 1 1]
#! format: on
C = SparseMatrixCSC(A)
rp, cp = mc66(C, 2)
@test isperm(rp)
Expand Down
2 changes: 0 additions & 2 deletions test/test_mc21.jl
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
@testset "mc21" begin
#! format: off
A = [1 0 0 4;
0 0 7 8;
9 0 0 12;
0 14 0 16]
#! format: on
Aᴴ = sparse(A')
iperm = mc21(Aᴴ)
@test iperm == Cint[1; 4; 2; 3]
Expand Down

0 comments on commit be15a7d

Please sign in to comment.