Skip to content

Commit

Permalink
Update antares_driver.py
Browse files Browse the repository at this point in the history
  • Loading branch information
a-zakir authored Oct 13, 2023
1 parent 72e6fe9 commit 4a084e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/antares_xpansion/antares_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def _get_antares_cmd(self):
cmd = [str(self.antares_exe_path), self.data_dir, self.ANTARES_N_CPU_OPTION, str(self.antares_n_cpu), self.zip_option]
simulator_version = version.parse(__antares_simulator_version__)
simulator_version_with_named_mps = version.parse(self.FIRST_VERSION_WITH_NAMED_PROBLEMS)
if (simulator_version.major > simulator_version_with_named_mps.major) or (simulator_version.major == simulator_version_with_named_mps.major and simulator_version.minor == simulator_version_with_named_mps.minor):
if (simulator_version.major > simulator_version_with_named_mps.major) or (simulator_version.major >= simulator_version_with_named_mps.major and simulator_version.minor == simulator_version_with_named_mps.minor):
cmd.append("--named-mps-problems")

return cmd
Expand Down

0 comments on commit 4a084e5

Please sign in to comment.