Skip to content

Commit

Permalink
Fix number of links in deprecated output file digest.txt (#1646)
Browse files Browse the repository at this point in the history
  • Loading branch information
flomnes authored Sep 22, 2023
1 parent a87eb3a commit ef99582
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/solver/variable/surveyresults/surveyresults.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -567,12 +567,15 @@ void SurveyResults::exportDigestAllYears(std::string& buffer)
{
// Main Header
{
const unsigned int nbLinks = data.study.runtime->interconnectionsCount();
buffer.append("\tdigest\n\tVARIABLES\tAREAS\tLINKS\n")
.append("\t")
.append(std::to_string(data.columnIndex))
.append("\t")
.append(std::to_string(data.rowCaptions.size()))
.append("\t0\n\n");
.append("\t")
.append(std::to_string(nbLinks))
.append("\n\n");
}
// Header - All columns
for (uint rowIndex = 0; rowIndex != captionCount; ++rowIndex)
Expand Down

0 comments on commit ef99582

Please sign in to comment.