mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-29 13:30:24 +08:00
TST: Attempt to fix Travis bug with old packages
This commit is contained in:
1 parent
92f3114c9e
commit
0e6e08d0c0
1 file changed
+2
@@ -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]
|
||||
|
||||
Reference in new issue
Block a user