Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

Commit

Permalink
fixes edgeiter equality (#1002)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbromberger authored Aug 25, 2018
1 parent 83d3690 commit 9716138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SimpleGraphs/simpleedgeiter.jl
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ end
function ==(e1::SimpleEdgeIter, e2::SimpleEdgeIter)
g = e1.g
h = e2.g
g.ne == g.ne || return false
ne(g) == ne(h) || return false
m = min(nv(g), nv(h))
for i in 1:m
fadj(g, i) == fadj(h, i) || return false
Expand Down

0 comments on commit 9716138

Please sign in to comment.