Skip to content

Commit

Permalink
Fix flipped conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake Moss committed Feb 12, 2025
1 parent 5ac447b commit 664778e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aequilibrae/paths/cython/AoN.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def one_to_all(origin, matrix, graph, result, aux_result, curr_thread):
# Destination set
cdef long long nnz_destinations = 0
cdef unsigned char [:] destinations
if skims > 0:
if skims == 0:
tmp = np.zeros(nodes, dtype=bool)
nonzero = matrix.matrix_view[origin_index, :, :].sum(axis=1).nonzero()[0]
tmp[nonzero] = True
Expand Down

0 comments on commit 664778e

Please sign in to comment.