Skip to content

Commit

Permalink
Return pair.first
Browse files Browse the repository at this point in the history
  • Loading branch information
payetvin committed Feb 20, 2025
1 parent f835580 commit 85389ed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ bool BindingConstraintGroupRepository::timeSeriesWidthConsistentInGroups() const
std::string msg = "Constraint group: " + c->group() + " name: " + c->name();
constraintsWidth.push_back({c->RHSTimeSeries().width, msg});
}
return Utils::checkAllElementsIdenticalOrOne(constraintsWidth);
return Utils::checkAllElementsIdenticalOrOne(constraintsWidth).first;
});
return allConsistent;
}
Expand Down

0 comments on commit 85389ed

Please sign in to comment.