gonum / graph

Graph packages for the Go language [DEPRECATED]

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

simple: DirectedDenseGraph.Edge() is incorrect

vladimir-ch opened this issue · comments

DirectedDenseGraph.Edge(u, v) returns an edge from u to v even when only an edge from v to u exists.

Whoops. Simple fix.

I'll send a PR when Travis finishes the backlog. No test (this is part of #23 an I'd like to sort it out all together).