From 35c9746b7407f495875dc8df116442eb287c58dc Mon Sep 17 00:00:00 2001 From: Vighnesh Birodkar Date: Wed, 6 Aug 2014 02:48:03 +0530 Subject: [PATCH] comment --- skimage/graph/graph_cut.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skimage/graph/graph_cut.py b/skimage/graph/graph_cut.py index bc694409..65d14585 100644 --- a/skimage/graph/graph_cut.py +++ b/skimage/graph/graph_cut.py @@ -232,7 +232,7 @@ def _ncut_relabel(rag, thresh, num_cuts, map_array): # The N-cut wasn't small enough, or could not be computed. # The remaining graph is a region. # Assign `ncut label` by picking any label from the existing nodes, since - # `labels` are unique, 'ncut label' is also unique. + # `labels` are unique, `new_label` is also unique. node = rag.nodes()[0] new_label = rag.node[node]['labels'][0] for n, d in rag.nodes_iter(data=True):