Skip to content

Commit

Permalink
gdist.pyx: Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ayan-b committed Aug 17, 2020
1 parent 187a40e commit 8743d9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gdist.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def local_gdist_matrix(numpy.ndarray[numpy.float64_t, ndim=2] vertices,
this will first require the efficient extraction of this information
from the propgate step...
"""

cdef Py_ssize_t N = vertices.shape[0]

cdef vector[double] points
Expand All @@ -219,7 +219,7 @@ def local_gdist_matrix(numpy.ndarray[numpy.float64_t, ndim=2] vertices,
max_distance,
is_one_indexed,
)

return scipy.sparse.csc_matrix(
(distances.data, (distances.rows, distances.columns)), shape=(N, N)
)
Expand Down

0 comments on commit 8743d9f

Please sign in to comment.