Closed csimal closed 3 months ago
That's very weird. I cannot reproduce it on my laptop, and something so bad would have been caught by the test suite.
My best guess is that you had defined a variable called edges::Vector{Tuple{Int64, Int64}}
earlier in your session, and that it tries to call it instead of the function Graphs.edges
.
I think you're probably right :sweat_smile: . I tried in a new Julia session and couldn't reproduce. I'll blame the lack of sleep for that one.
Calling
edges
on aSimpleGraph
in the latest release results in a method error (see below)How to reproduce See code snippet below.
Expected behavior I expect
edges
to return an iterator over the edges of the graph.Actual behavior Calling the function throws an error. If I had to guess, I'd bet on incomplete code refactoring.
Code demonstrating bug
Version information