From b92cd87a16386c3fd67a01b895b9c42c6c93d42b Mon Sep 17 00:00:00 2001 From: Jared Anderson Date: Mon, 20 Aug 2018 06:48:34 -0700 Subject: [PATCH] Fix graph adj_weights comment (#228) --- graphs_trees/graph/graph_challenge.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphs_trees/graph/graph_challenge.ipynb b/graphs_trees/graph/graph_challenge.ipynb index dd40f55..c8a7db7 100644 --- a/graphs_trees/graph/graph_challenge.ipynb +++ b/graphs_trees/graph/graph_challenge.ipynb @@ -119,7 +119,7 @@ " self.visit_state = State.unvisited\n", " self.incoming_edges = 0\n", " self.adj_nodes = {} # Key = key, val = Node\n", - " self.adj_weights = {} # Key = Node, val = weight\n", + " self.adj_weights = {} # Key = key, val = weight\n", "\n", " def __repr__(self):\n", " return str(self.key)\n",