Skip to content

Commit

Permalink
Swap 2 lines of code
Browse files Browse the repository at this point in the history
  • Loading branch information
flomnes committed Oct 5, 2023
1 parent 5d55e3e commit 9608379
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/solver/hydro/management/management.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -524,8 +524,8 @@ void HydroManagement::makeVentilation(double* randomReservoirLevel,
throw FatalError("hydro management: invalid minimum generation");
}

prepareEffectiveDemand(numSpace);
prepareNetDemand(numSpace, y, parameters_.mode);
prepareEffectiveDemand(numSpace);

prepareMonthlyOptimalGenerations(randomReservoirLevel, y, numSpace);
prepareDailyOptimalGenerations(state, y, numSpace);
Expand Down

0 comments on commit 9608379

Please sign in to comment.