mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 03:45:51 +00:00
rebase with Z3Prover
Signed-off-by: Lev Nachmanson <levnach@hotmail.com>
This commit is contained in:
parent
7eac995824
commit
d310ae9060
15 changed files with 156 additions and 149 deletions
|
@ -56,9 +56,9 @@ class lar_solver : public column_namer {
|
|||
using std::string;
|
||||
size_t seed = 0;
|
||||
int i = 0;
|
||||
for (const auto& p : t.coeffs()) {
|
||||
hash_combine(seed, p.first);
|
||||
hash_combine(seed, p.second);
|
||||
for (const auto p : t) {
|
||||
hash_combine(seed, p.var());
|
||||
hash_combine(seed, p.coeff());
|
||||
if (i++ > 10)
|
||||
break;
|
||||
}
|
||||
|
@ -69,7 +69,7 @@ class lar_solver : public column_namer {
|
|||
struct term_comparer {
|
||||
bool operator()(const lar_term &a, const lar_term& b) const
|
||||
{
|
||||
return a.coeffs() == b.coeffs();
|
||||
return a == b;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue