mirror of
https://github.com/Z3Prover/z3
synced 2025-06-19 20:33:38 +00:00
trying to fix address depedency in duality_solver.cpp
This commit is contained in:
parent
0449598530
commit
ac9a7748e8
1 changed files with 12 additions and 0 deletions
|
@ -1007,3 +1007,15 @@ private:
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// allow to walk sets of nodes without address dependency
|
||||||
|
|
||||||
|
namespace std {
|
||||||
|
template <>
|
||||||
|
class less<Duality::RPFP::Node *> {
|
||||||
|
public:
|
||||||
|
bool operator()(Duality::RPFP::Node * const &s, Duality::RPFP::Node * const &t) const {
|
||||||
|
return s->number < t->number; // s.raw()->get_id() < t.raw()->get_id();
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue