From 92f3114c9ea8c9d3433bb49a6f5cde9b67223aa0 Mon Sep 17 00:00:00 2001 From: Egor Date: Tue, 8 Dec 2015 14:05:11 +0300 Subject: [PATCH] FIX: Fixed test for biharmonic in accordance to new kernel for edges --- skimage/restoration/tests/test_inpaint.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/skimage/restoration/tests/test_inpaint.py b/skimage/restoration/tests/test_inpaint.py index 39d7f0a7..1fe3e766 100644 --- a/skimage/restoration/tests/test_inpaint.py +++ b/skimage/restoration/tests/test_inpaint.py @@ -14,9 +14,9 @@ def test_inpaint_biharmonic(): mask[0, 4:] = 1 out = inpaint.inpaint_biharmonic(img, mask) ref = np.array( - [[0., 0.0625, 0.25, 0.5625, 0.671875], - [0., 0.0625, 0.25, 0.5390625, 0.78125], - [0., 0.0625, 0.2578125, 0.5625, 0.890625], + [[0., 0.0625, 0.25, 0.5625, 0.56947314], + [0., 0.0625, 0.25, 0.47029959, 0.57644628], + [0., 0.0625, 0.24664256, 0.49225207, 0.68956612], [0., 0.0625, 0.25, 0.5625, 1.], [0., 0.0625, 0.25, 0.5625, 1.]] )