Skip to content

Commit

Permalink
inline functions
Browse files Browse the repository at this point in the history
  • Loading branch information
kif committed Nov 15, 2024
1 parent 2e41c55 commit 6b7f99f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pyFAI/ext/CSR_common.pxi
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ cdef struct float4:
float s2
float s3

cdef bool inline cmp(float4 a, float4 b) noexcept nogil:
cdef inline bool cmp(float4 a, float4 b) noexcept nogil:
return True if a.s0<b.s0 else False

cdef void inline sort_float4(float4[::1] ary) noexcept nogil:
cdef inline void sort_float4(float4[::1] ary) noexcept nogil:
"Sort in place of an array of float4 along first element"
cdef:
int size
Expand Down

0 comments on commit 6b7f99f

Please sign in to comment.