mirror of
https://github.com/Z3Prover/z3
synced 2025-04-13 12:28:44 +00:00
fix bug in contains function
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
37b94f1f90
commit
0f4afc4536
|
@ -1519,7 +1519,7 @@ namespace z3 {
|
|||
return *this;
|
||||
}
|
||||
bool contains(T const& x) const {
|
||||
for (auto y : *this) if (x == y) return true;
|
||||
for (auto y : *this) if (eq(x, y)) return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue