Skip to content

Commit

Permalink
set order to rc in hessian_matrix_eigvals function
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnnyTeutonic committed Nov 8, 2016
1 parent 349c63f commit ea171cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skimage/feature/corner.py
Expand Up @@ -288,7 +288,7 @@ def hessian_matrix_eigvals(Hxx, Hxy, Hyy):
>>> from skimage.feature import hessian_matrix, hessian_matrix_eigvals
>>> square = np.zeros((5, 5))
>>> square[2, 2] = 4
>>> Hxx, Hxy, Hyy = hessian_matrix(square, sigma=0.1)
>>> Hxx, Hxy, Hyy = hessian_matrix(square, sigma=0.1, order='rc')
>>> hessian_matrix_eigvals(Hxx, Hxy, Hyy)[0]
array([[ 0., 0., 2., 0., 0.],
[ 0., 1., 0., 1., 0.],
Expand Down

0 comments on commit ea171cb

Please sign in to comment.