From 2622842506197bfbf4e983ce4463dca6be5102c0 Mon Sep 17 00:00:00 2001 From: Vincent Payet Date: Wed, 16 Oct 2024 13:43:22 +0200 Subject: [PATCH] format --- src/libs/antares/study/parts/hydro/container.cpp | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/src/libs/antares/study/parts/hydro/container.cpp b/src/libs/antares/study/parts/hydro/container.cpp index 2098962535..6ee131b4f3 100644 --- a/src/libs/antares/study/parts/hydro/container.cpp +++ b/src/libs/antares/study/parts/hydro/container.cpp @@ -244,10 +244,7 @@ bool PartHydro::LoadFromFolder(Study& study, const fs::path& folder) if (IniFile::Section* section = ini.find("intra-daily-modulation")) { - ret = loadProperties(study, - section->firstProperty, - path, - &PartHydro::intraDailyModulation) + ret = loadProperties(study, section->firstProperty, path, &PartHydro::intraDailyModulation) && ret; } @@ -265,17 +262,13 @@ bool PartHydro::LoadFromFolder(Study& study, const fs::path& folder) if (IniFile::Section* section = ini.find("follow load")) { - ret = loadProperties(study, - section->firstProperty, - path, - &PartHydro::followLoadModulations) + ret = loadProperties(study, section->firstProperty, path, &PartHydro::followLoadModulations) && ret; } if (IniFile::Section* section = ini.find("use water")) { - ret = loadProperties(study, section->firstProperty, path, &PartHydro::useWaterValue) - && ret; + ret = loadProperties(study, section->firstProperty, path, &PartHydro::useWaterValue) && ret; } if (IniFile::Section* section = ini.find("hard bounds")) @@ -295,8 +288,7 @@ bool PartHydro::LoadFromFolder(Study& study, const fs::path& folder) if (IniFile::Section* section = ini.find("power to level")) { - ret = loadProperties(study, section->firstProperty, path, &PartHydro::powerToLevel) - && ret; + ret = loadProperties(study, section->firstProperty, path, &PartHydro::powerToLevel) && ret; } if (IniFile::Section* section = ini.find("initialize reservoir date"))