Skip to content

Commit

Permalink
Try fix non valid error
Browse files Browse the repository at this point in the history
  • Loading branch information
payetvin committed Jun 12, 2024
1 parent 67e74fe commit 3c75a26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/antares/study/parts/hydro/container.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.;
Expand Down

0 comments on commit 3c75a26

Please sign in to comment.