3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-10 19:27:06 +00:00

trying to fix address depedency in duality_solver.cpp

This commit is contained in:
Ken McMillan 2013-12-13 13:14:04 -08:00
parent 0449598530
commit ac9a7748e8

View file

@ -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();
}
};
}