Skip to content

Commit

Permalink
Update cutils.pyx
Browse files Browse the repository at this point in the history
  • Loading branch information
philipp-horstenkamp authored Oct 29, 2024
1 parent 29f9ed1 commit c462b70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions KDEpy/cutils_ext/cutils.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ from libc.math cimport floor
# for nor correctly handle negative indices

# cdivision(True) -> If set to False, Cython will adjust the remainder and
# quotient operators C types to match those of Pyethon ints (which differ
# quotient operators C types to match those of Python ints (which differ
# when the operands have opposite signs) and raise a ZeroDivisionError
# when the right operand is 0
@cython.boundscheck(False)
Expand Down Expand Up @@ -412,4 +412,4 @@ def grid_is_sorted(double[:, :] grid):
if not grid_is_sorted(grid[row_start_index:, 1:]):
return False

return True
return True

0 comments on commit c462b70

Please sign in to comment.