Skip to content

Commit

Permalink
Add load for levelCost
Browse files Browse the repository at this point in the history
  • Loading branch information
flomnes committed Sep 16, 2024
1 parent a67c089 commit 4189a3e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/libs/antares/study/parts/hydro/container.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,11 @@ bool PartHydro::LoadFromFolder(Study& study, const AnyString& folder)
&& ret;
}

if (IniFile::Section* section = ini.find("level cost"))
{
ret = loadProperties(study, section->firstProperty, buffer, &PartHydro::levelCost) && ret;
}

return ret;
}

Expand Down

0 comments on commit 4189a3e

Please sign in to comment.