3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-07-18 02:16:40 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2019-08-02 16:47:18 -07:00
parent 1d488d07fa
commit db5af3088b
4 changed files with 67 additions and 22 deletions

View file

@ -743,10 +743,10 @@ namespace nlsat {
m_am.set(w, s->m_intervals[irrational_i].m_upper);
}
void interval_set_manager::display(std::ostream & out, interval_set const * s) const {
std::ostream& interval_set_manager::display(std::ostream & out, interval_set const * s) const {
if (s == nullptr) {
out << "{}";
return;
return out;
}
out << "{";
for (unsigned i = 0; i < s->m_num_intervals; i++) {
@ -757,6 +757,7 @@ namespace nlsat {
out << "}";
if (s->m_full)
out << "*";
return out;
}
};