Skip to content

Commit 0ceb174

Browse files
authored
Improve type stability in star set (#140)
1 parent 1cb3884 commit 0ceb174

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "SparseMatrixColorings"
22
uuid = "0a514795-09f3-496d-8182-132a7b665d35"
33
authors = ["Guillaume Dalle", "Alexis Montoison"]
4-
version = "0.4.4"
4+
version = "0.4.5"
55

66
[deps]
77
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"

src/coloring.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ function symmetric_coefficient(
240240
if h == j
241241
# i is the spoke
242242
return i, color[h]
243-
elseif h == i
243+
else
244244
# j is the spoke
245245
return j, color[h]
246246
end

0 commit comments

Comments
 (0)