From 49aa7cf999093019493568815edd985ed1bc9714 Mon Sep 17 00:00:00 2001 From: Juan Nunez-Iglesias Date: Mon, 14 Dec 2015 18:42:25 +1100 Subject: [PATCH] Fix typo in variable name --- skimage/future/graph/rag.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skimage/future/graph/rag.py b/skimage/future/graph/rag.py index 00ab7a48..da5d8606 100644 --- a/skimage/future/graph/rag.py +++ b/skimage/future/graph/rag.py @@ -124,7 +124,7 @@ class RAG(nx.Graph): function=_add_edge_filter, footprint=fp, mode='nearest', - output=np.empty(labels_image.shape, dtype=np.uint8), + output=np.empty(label_image.shape, dtype=np.uint8), extra_arguments=(self,)) try: