Skip to content

Commit

Permalink
test_gdist.py: Add more assertions
Browse files Browse the repository at this point in the history
Check if distances is of type sparse matrix. Also
add API doc in README.rst and add docstring to
distance_matrix_of_selected_points

Related to the-virtual-brain#52
  • Loading branch information
ayan-b committed Jul 25, 2020
1 parent 248a55d commit 30e7fac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gdist.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,8 @@ def distance_matrix_of_selected_points(
triangles,
source_index,
target_indices,
max_distance,
is_one_indexed,
)

for index_distance, distance in enumerate(distances):
Expand Down

0 comments on commit 30e7fac

Please sign in to comment.