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
denominator = self.liquor["volume"] + influent["volume"] * self.liquor_multiplier["volume"]
if denominator != 0:
self.liquor[key] = (
self.liquor[key] * self.liquor["volume"]
+ influent[key] * influent["volume"] * self.liquor_multiplier["volume"]
) / denominator
else:
# Handle the case where the denominator is zero
self.liquor[key] = 0 # or some other default value
The text was updated successfully, but these errors were encountered:
Suggested work around is:
The text was updated successfully, but these errors were encountered: