Skip to content

Commit

Permalink
use c division for large antenna numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
mkolopanis committed Nov 27, 2023
1 parent dd435bf commit 098c791
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyuvdata/utils.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ cdef numpy.uint64_t large_mod = 2147483648

@cython.boundscheck(False)
@cython.wraparound(False)
@cython.cdivision(True)
cdef inline void _bl_to_ant_2147483648(
numpy.uint64_t[::1] _bl,
numpy.uint64_t[:, ::1] _ants,
Expand Down

0 comments on commit 098c791

Please sign in to comment.