Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 7, 2024
1 parent 56f6928 commit c9e2569
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 @@ -859,8 +859,8 @@ cdef class CsrIntegrator(object):
for i in range(start, stop):
former_element = element
element = work[i]
if ((element.s3!=0) and
(((qmin<=former_element.s0) and (element.s0 <= qmax)) or
if ((element.s3!=0) and
(((qmin<=former_element.s0) and (element.s0 <= qmax)) or
((qmin>=former_element.s0) and (element.s0 >= qmax))): #specific case where qmin==qmax
acc_sig = acc_sig + element.s1
acc_var = acc_var + element.s2
Expand Down

0 comments on commit c9e2569

Please sign in to comment.