diff --git a/src/libs/antares/study/parts/hydro/container.cpp b/src/libs/antares/study/parts/hydro/container.cpp index 09a7368533..82a732bbb1 100644 --- a/src/libs/antares/study/parts/hydro/container.cpp +++ b/src/libs/antares/study/parts/hydro/container.cpp @@ -390,7 +390,7 @@ bool PartHydro::validate(Study& study) area.hydro.intraDailyModulation = 1.; } - if (area.hydro.reservoirCapacity < 1e-6) + if (area.hydro.reservoirCapacity < 0) { logs.error() << area.id << ": Invalid reservoir capacity."; area.hydro.reservoirCapacity = 0.;