Skip to content

Commit

Permalink
New hydro remix : fix the previous fix
Browse files Browse the repository at this point in the history
  • Loading branch information
guilpier-code committed Dec 19, 2024
1 parent ea7e23f commit 6ed6f62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/solver/simulation/hydro-remix-new.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ RemixHydroOutput new_remix_hydro(const std::vector<double>& G,
levels.begin()
+ std::max(idx_creux, idx_pic));
double max_pic, max_creux;
if (idx_creux < idx_creux)
if (idx_creux < idx_pic)
{
max_pic = capa;
max_creux = *std::min_element(intermediate_level.begin(),
Expand Down

0 comments on commit 6ed6f62

Please sign in to comment.