Skip to content

Commit 8b9ed8c

Browse files
fix depwarn
1 parent 58b4e72 commit 8b9ed8c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/SparseDiffTools.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ using LinearAlgebra
1313
using SparseArrays, ArrayInterface
1414

1515
using ForwardDiff: Dual, jacobian, partials, DEFAULT_CHUNK_THRESHOLD
16-
using DataStructures: DisjointSets, find_root, union!
16+
using DataStructures: DisjointSets, find_root!, union!
1717

1818
using ArrayInterface: matrix_colors
1919

src/coloring/acyclic_coloring.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ function find(w::Integer,
192192
g::LightGraphs.AbstractGraph,
193193
two_colored_forest::DisjointSets{<:Integer})
194194
edge_index = find_edge_index(w, x, g)
195-
return find_root(two_colored_forest, edge_index)
195+
return find_root!(two_colored_forest, edge_index)
196196
end
197197

198198

0 commit comments

Comments
 (0)