Skip to content

Commit

Permalink
Merge pull request #485 from potassco/fix/comparison
Browse files Browse the repository at this point in the history
fix comparison of theory elements
  • Loading branch information
rkaminsk authored Feb 16, 2024
2 parents ee81bd5 + 1fb855f commit c83dbde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libgringo/gringo/output/theory.hh
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ class TheoryData : private Potassco::TheoryData::Visitor {
bool operator()(std::pair<IdSpan, LitSpan> const &x, std::pair<IdSpan, LitSpan> const &y) const {
return x.first.size == y.first.size &&
x.second.size == y.second.size &&
std::equal(begin(x.first), end(x.first), begin(y.first));
std::equal(begin(x.first), end(x.first), begin(y.first)) &&
std::equal(begin(x.second), end(x.second), begin(y.second));
}

Expand Down

0 comments on commit c83dbde

Please sign in to comment.