Skip to content

Commit

Permalink
fix: wrongly accessed rate in pump system v2
Browse files Browse the repository at this point in the history
  • Loading branch information
jsolaas committed Sep 12, 2023
1 parent 32deea2 commit 1de9df3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,8 @@ def to_dto(
else:
rates = [
Expression.multiply(
Expression.setup_from_expression(self.rate), Expression.setup_from_expression(rate_fraction)
Expression.setup_from_expression(operational_setting.total_system_rate),
Expression.setup_from_expression(rate_fraction),
)
for rate_fraction in operational_setting.rate_fractions
]
Expand Down

0 comments on commit 1de9df3

Please sign in to comment.