Skip to content

Commit 4f605e7

Browse files
committed
More fixes
1 parent 3c04d97 commit 4f605e7

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/MadIPM.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ import MadNLP
77
import MadNLP: full, LDLFactorizations
88
import NLPModels
99
import QuadraticModels
10-
import QuadraticModels: SparseMatrixCOO
10+
import QuadraticModels: SparseMatrixCOO, QuadraticModel
11+
import AMD
1112

1213
include("utils.jl")
1314
include("structure.jl")

src/permutation.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
using AMD
2-
31
function permutation_schur(qp::QuadraticModel)
42
n = qp.meta.nvar
53
m = qp.meta.ncon
6-
p_AtA = symamd(qp.data.A)
4+
p_AtA = AMD.symamd(qp.data.A)
75
p = Vector{Cint}(undef, n+m)
86
for i = 1:n
97
p[i] = i

0 commit comments

Comments
 (0)