Skip to content

Commit

Permalink
Bug fix make function private for correct call
Browse files Browse the repository at this point in the history
  • Loading branch information
birgits committed Jun 19, 2024
1 parent 7e937a9 commit a8af214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etrago/tools/constraints.py
Original file line number Diff line number Diff line change
Expand Up @@ -3216,7 +3216,7 @@ def add_chp_constraints_linopy(network, snapshots):
)


def add_piecewise_constraint(self, network, snapshots):
def _add_piecewise_constraint(self, network, snapshots):
"""
Adds piecewise constraints for specified links.
Expand Down

0 comments on commit a8af214

Please sign in to comment.