Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pitkajuh committed Apr 13, 2024
1 parent a384418 commit 0da1377
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skimage/restoration/uft.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ def laplacian(ndim, shape, is_real=True):
Examples
--------
>>> tf, ir = laplacian(2, (32, 32))
>>> np.all(ir == np.array([[0, -1, 0], [-1, 4, -1], [0, -1, 0]]))
>>> np.all(ir == np.array([[0, 1, 0], [1, -4, 1], [0, 1, 0]]))
True
>>> np.all(tf == ir2tf(ir, (32, 32)))
True
Expand Down

0 comments on commit 0da1377

Please sign in to comment.