From e1033e3f8a3f9f9b0c735ec100eb4de9b015ea1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20Sch=C3=B6nberger?= Date: Mon, 9 Dec 2013 08:06:16 +0100 Subject: [PATCH] Add missing bracket in doc tests --- skimage/feature/template.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/skimage/feature/template.py b/skimage/feature/template.py index a721cadf..37dec0bc 100644 --- a/skimage/feature/template.py +++ b/skimage/feature/template.py @@ -89,7 +89,7 @@ def match_template(image, template, pad_input=False, mode='constant', array([[ 1. , -0.125, 0. , 0. ], [-0.125, -0.125, 0. , 0. ], [ 0. , 0. , 0.125, 0.125], - [ 0. , 0. , 0.125, -1. ]], dtype=float32)) + [ 0. , 0. , 0.125, -1. ]], dtype=float32) >>> result = match_template(image, template, pad_input=True) >>> np.round(result, 3) array([[-0.125, -0.125, -0.125, 0. , 0. , 0. ], @@ -97,7 +97,7 @@ def match_template(image, template, pad_input=False, mode='constant', [-0.125, -0.125, -0.125, 0. , 0. , 0. ], [ 0. , 0. , 0. , 0.125, 0.125, 0.125], [ 0. , 0. , 0. , 0.125, -1. , 0.125], - [ 0. , 0. , 0. , 0.125, 0.125, 0.125]], dtype=float32)) + [ 0. , 0. , 0. , 0.125, 0.125, 0.125]], dtype=float32) """ if np.any(np.less(image.shape, template.shape)):