Skip to content

Commit

Permalink
Use the set of area size for the array
Browse files Browse the repository at this point in the history
  • Loading branch information
payetvin committed Dec 2, 2024
1 parent d4a660e commit e49ae4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/solver/variable/surveyresults/surveyresults.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ SurveyResults::SurveyResults(const Data::Study& s, const Yuni::String& o, IResul
}

uint nbAreas = s.areas.size();
uint nbSetsOfAreas = s.areas.size();
uint nbSetsOfAreas = s.setsOfAreas.size();
digestSize = (nbAreas > nbSetsOfAreas) ? nbAreas : nbSetsOfAreas;
digestNonApplicableStatus = new bool*[digestSize];
for (uint i = 0; i < digestSize; i++)
Expand Down

0 comments on commit e49ae4d

Please sign in to comment.