Skip to content

Commit

Permalink
small refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
Milos-RTEi committed Nov 7, 2023
1 parent add5f32 commit 58ddac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/antares/study/parts/thermal/cluster_list.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ bool ThermalClusterList::loadEconomicCosts(Study& study, const AnyString& folder

bool ThermalClusterList::generateRandomDaysSinceLastMaintenance(Study& study)
{
if (empty() || study.parameters.maintenancePlanning.mpModelling != mpOptimized)
if (empty() || !study.parameters.maintenancePlanning.isOptimized())
return true;

bool ret = true;
Expand Down

0 comments on commit 58ddac0

Please sign in to comment.