Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
adewit committed Oct 9, 2024
1 parent 8eb22b1 commit cf61128
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/calculate_pulls.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def compat(x, x0, sx, sx0):
def diffPull(x, x0, sx, sx0):
# as defined in http://physics.rockefeller.edu/luc/technical_reports/cdf5776_pulls.pdf
# The following protection checks the relative size of the constraint wrt the input uncertainty
if abs((sx * sx - sx0 * sx0)/(sx0 * sx0)) < 0.001:
if abs((sx * sx - sx0 * sx0) / (sx0 * sx0)) < 0.001:
return [0, 999]
elif sx > sx0:
return [0, 999]
Expand Down

0 comments on commit cf61128

Please sign in to comment.