Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
moritzmolch committed Jul 26, 2024
1 parent 92b2187 commit ced83c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code_generation/rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ def update_outputs(self, outputs_to_be_updated: QuantitiesStore) -> None:
)
outputs_to_be_updated[scope].remove(removed_output)
for added_output in added_outputs[scope]:
if added_output in outputs_to_be_updated[scope]:
if added_output not in outputs_to_be_updated[scope]:
log.debug(
"ReplaceProducer: Adding {} from outputs in scope {}".format(
added_output, scope
Expand Down

0 comments on commit ced83c1

Please sign in to comment.