From 04f91021a97e0218e62fe516cd185d476d04da42 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Sat, 20 Sep 2014 20:09:26 -0500 Subject: [PATCH] Fix assert_nD call in template.py --- skimage/feature/template.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skimage/feature/template.py b/skimage/feature/template.py index c9914b14..32940e51 100644 --- a/skimage/feature/template.py +++ b/skimage/feature/template.py @@ -103,7 +103,7 @@ def match_template(image, template, pad_input=False, mode='constant', [ 0. , 0. , 0. , 0.125, -1. , 0.125], [ 0. , 0. , 0. , 0.125, 0.125, 0.125]], dtype=float32) """ - assert_nD(ndim=(2, 3)) + assert_nD(image, ndim=(2, 3)) if image.ndim < template.ndim: raise ValueError("Dimensionality of template must be less than or "