Skip to content

Commit

Permalink
Fixed example for doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
Francois committed Jun 15, 2017
1 parent 3234d66 commit df13afe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pygsp/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@ def extract_submatrix(M, ind_rows, ind_cols):
>>> block = utils.extract_submatrix(M, ind_row, ind_col)
>>> block.shape
(8, 8)
"""
M = M.tocoo()

Expand Down

0 comments on commit df13afe

Please sign in to comment.