Skip to content

Commit

Permalink
fix - failed unit test yearFilter
Browse files Browse the repository at this point in the history
  • Loading branch information
Milos-RTEi committed Sep 8, 2023
1 parent d38d482 commit 0c37370
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ struct Fixture
// -------------------------------------------------------
uint areasCount = study->areas.size();

std::vector<bool> yearFilter(2, true);
study->parameters.yearsFilter = yearFilter;

study->scenarioInitialHydroLevels.resize(nbYears, areasCount);
study->scenarioFinalHydroLevels.resize(nbYears, areasCount);

Expand Down

0 comments on commit 0c37370

Please sign in to comment.