Skip to content

Commit

Permalink
Fix condition
Browse files Browse the repository at this point in the history
  • Loading branch information
payetvin committed Feb 20, 2025
1 parent 11c2bd7 commit 0caf00b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,14 @@ bool BindingConstraintGroupRepository::buildFrom(const BindingConstraintsReposit

bool BindingConstraintGroupRepository::timeSeriesWidthConsistentInGroups() const
{
bool allConsistent = !std::ranges::any_of(
bool allConsistent = std::ranges::any_of(
groups_,
[](const auto& group)
{
const auto& constraints = group->constraints();
if (constraints.empty())
{
return false;
return true;
}

std::vector<std::pair<unsigned, std::string>> constraintsWidth;
Expand Down

0 comments on commit 0caf00b

Please sign in to comment.