mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-14 11:18:06 +08:00
TST: Attempt to fix Travis bug with old packages
This commit is contained in:
@@ -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