Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CP-24829: Bug in QuickGraph.UndirectedGraph`2.AddEdge(TEdge edge) #141

Open
fubar-coder opened this issue Jun 11, 2018 · 0 comments
Open

Comments

@fubar-coder
Copy link
Contributor

From unknown CodePlex user on Wednesday, 23 October 2013 05:27:36

Hello, this simple code produces KeyNotFoundException:

var gg = new UndirectedGraph<int, UndirectedEdge<int>>();
gg.AddEdge(new UndirectedEdge<int>(1,2));

Update:
Maybe it's WAD and this method expects vertices to be already in the adjacency dictionary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant