Skip to content
Snippets Groups Projects
Commit 110fe34b authored by Christopher Wipf's avatar Christopher Wipf
Browse files

noise/coatingthermal.py: bug fix for operator precedence

parent 65396ee4
No related branches found
No related tags found
1 merge request!62noise/coatingthermal.py: bug fix for operator precedence
Pipeline #100099 passed
......@@ -656,7 +656,7 @@ def getCoatDopt(ifo, T, dL, dCap=0.5):
Tn = getTrans(ifo, Ndblt, dL, dH, dCap, dScan)
pf = polyfit(dScan, Tn - T, Nfit)
rts = roots(pf)
if not any(imag(rts) == 0 & (rts > 0)):
if not any((imag(rts) == 0) & (rts > 0)):
dTweak = None
Td = 0
return dTweak, Td
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment