You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In mast.py (function vindareal), the following line looks suspicious: if self.navn == "H6" and x == 5.0 or 9.0:. Because of operator precedence, the condition is equivalent to if (((self.navn == "H6") and (x == 5.0)) or 9.0) and will always return true. What is the intended condition, @oscarborke and @G-W-h ? ;)
The text was updated successfully, but these errors were encountered:
In mast.py (function
vindareal
), the following line looks suspicious:if self.navn == "H6" and x == 5.0 or 9.0:
. Because of operator precedence, the condition is equivalent toif (((self.navn == "H6") and (x == 5.0)) or 9.0)
and will always returntrue
. What is the intended condition, @oscarborke and @G-W-h ? ;)The text was updated successfully, but these errors were encountered: