Skip to content

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

Description

@fubar-coder

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions