Skip to content

Commit

Permalink
Making the skip_len nogil, just to be safe
Browse files Browse the repository at this point in the history
  • Loading branch information
cphyc committed Nov 1, 2023
1 parent d33e2b1 commit a16bda2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion yt/frontends/ramses/io_utils.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def read_amr(FortranFile f, dict headers,
return max_level


cdef inline int skip_len(int Nskip, int record_len) noexcept:
cdef inline int skip_len(int Nskip, int record_len) noexcept nogil:
return Nskip * (record_len * DOUBLE_SIZE + INT64_SIZE)

@cython.cpow(True)
Expand Down

0 comments on commit a16bda2

Please sign in to comment.