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 4, 2022
1 parent 0b96169 commit 6e09e00
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 8 deletions.
2 changes: 2 additions & 0 deletions deps/versions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ hsl_collection["hsl_mc65"] = []
hsl_collection["hsl_mc66"] = [
HSLVersion("2.2.0", "3326abdab8fededbbaa6abebb24294dcc3cfa0e6810390664063a3f764a7f201", ".tar.gz"),
HSLVersion("2.2.0", "bc17cfca531bb2407ab53570bf8fa725e0c3265a0bfa4ce492ac54ad89856abc", ".zip"),
HSLVersion("2.2.1", "cb7df2591c1a01783f8a07cfe7a20bcd4ba9ef7a1169a68b0f117cd1683066dd", ".tar.gz"),
HSLVersion("2.2.1", "8ff58f90855a67081a35d79fcca60ad4fc97c2dce78c99c1ff4f225cdcd39b6c", ".zip"),
]
hsl_collection["mc67"] = []
hsl_collection["hsl_mc68"] = []
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 6e09e00

Please sign in to comment.