TST: Attempt to fix Travis bug with old packages

This commit is contained in:
Egor Panfilov
2015-12-24 20:35:32 +03:00
parent 92f3114c9e
commit 0e6e08d0c0
+2
View File
@@ -150,6 +150,8 @@ def inpaint_biharmonic(img, mask):
result[np.where(result < -1)] = -1
result[np.where(result > 1)] = 1
result = result.ravel()
# Put calculated points into the image
for idx, (m, n) in enumerate(mask_mn):
out[m, n] = result[idx]