Skip to content

Commit de9cac7

Browse files
github-actions[bot]CompatHelper Juliagdalle
authored
CompatHelper: bump compat for ArnoldiMethod to 0.4, (keep existing compat) (#344)
* CompatHelper: bump compat for ArnoldiMethod to 0.4, (keep existing compat) * Qualify ArnoldiMethod imports * Clean up using in package source * Remove ArnoldiMethod 0.3 --------- Co-authored-by: CompatHelper Julia <compathelper_noreply@julialang.org> Co-authored-by: Guillaume Dalle <22795598+gdalle@users.noreply.github.com>
1 parent e773bce commit de9cac7

File tree

10 files changed

+7
-14
lines changed

10 files changed

+7
-14
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
1717

1818
[compat]
1919
Aqua = "0.6"
20-
ArnoldiMethod = "0.3"
20+
ArnoldiMethod = "0.4"
2121
Compat = "3.40, 4"
2222
DataStructures = "0.17, 0.18"
2323
Documenter = "0.27"

src/Graphs.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module Graphs
33
using SimpleTraits
44

55
### Remove the following line once #915 is closed
6-
using ArnoldiMethod
6+
using ArnoldiMethod: LM, SR, LR, partialschur, partialeigen
77
using Statistics: mean
88

99
# Currently used to support the ismutable function that is not available in Julia < v1.7

src/Parallel/Parallel.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ using Graphs: sample, AbstractPathState, JohnsonState, BellmanFordState, FloydWa
55
using Distributed: @distributed
66
using Base.Threads: @threads, nthreads, Atomic, atomic_add!, atomic_cas!
77
using SharedArrays: SharedMatrix, SharedVector, sdata
8-
using ArnoldiMethod
8+
using ArnoldiMethod: LM, SR, LR, partialschur, partialeigen
99
using Random: AbstractRNG, shuffle
1010
import SparseArrays: sparse
1111
import Base: push!, popfirst!, isempty, getindex

src/graphcut/normalized_cut.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
using ArnoldiMethod
21
# computes normalized cut cost for partition `cut`
32
function _normalized_cut_cost(cut, W::AbstractMatrix, D)
43
cut_cost = zero(eltype(W))

src/linalg/LinAlg.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
module LinAlg
22

3-
using ArnoldiMethod
3+
using ArnoldiMethod: LM, SR, LR, partialschur, partialeigen
44

55
using SimpleTraits
66
using SparseArrays: SparseMatrixCSC
7-
import SparseArrays: blockdiag, sparse
7+
import SparseArrays: blockdiag, sparse, spdiagm
88
using LinearAlgebra: I, Symmetric, diagm, dot, eigen, eigvals, norm, rmul!, tril, triu
99
import LinearAlgebra: Diagonal, diag, issymmetric, mul!
1010

src/linalg/spectral.jl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
# This file provides reexported functions.
22

3-
using ArnoldiMethod
4-
using SparseArrays
5-
63
"""
74
adjacency_matrix(g[, T=Int; dir=:out])
85

src/shortestpaths/bellman-ford.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
# The type that encapsulates the state of Bellman Ford algorithm
99
#
1010
###################################################################
11-
using Base.Threads
1211

1312
struct NegativeCycleError <: Exception end
1413

src/shortestpaths/spfa.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
#
77
###################################################################
88

9-
using Base.Threads
10-
119
"""
1210
spfa_shortest_paths(g, s, distmx=weights(g))
1311

test/linalg/graphmatrices.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# export test_adjacency, test_laplacian, test_accessors, test_arithmetic, test_other
2-
using ArnoldiMethod
2+
using ArnoldiMethod: LM, SR, LR, partialschur, partialeigen
33

44
@testset "Graph matrices" begin
55

test/linalg/spectral.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import Base: Matrix
22
import Base: size
3-
using ArnoldiMethod
3+
using ArnoldiMethod: LM, SR, LR, partialschur, partialeigen
44

55
# using Graphs.LinAlg: eigs
66
# just so that we can assert equality of matrices

0 commit comments

Comments
 (0)