Skip to content

Commit

Permalink
fix(bc): convert version to int
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBelthle committed Jan 4, 2024
1 parent 3ad8b51 commit e3742fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion antarest/study/business/binding_constraint_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ def update_binding_constraint(
if data.key == "time_step" and data.value != constraint.time_step:
# The user changed the time step, we need to update the matrix accordingly
args = BindingConstraintManager.replace_matrices_according_to_frequency_and_version(
data, study.version, args
data, int(study.version), args
)

command = UpdateBindingConstraint(**args)
Expand Down

0 comments on commit e3742fc

Please sign in to comment.