3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-06 17:44:08 +00:00

Add tracking of values size in scoped_state push method in opt_context

This commit is contained in:
Nikolaj Bjorner 2024-09-19 11:27:17 +03:00
parent a3f35b6830
commit 4896edfb04

View file

@ -53,6 +53,7 @@ namespace opt {
void context::scoped_state::push() {
m_asms_lim.push_back(m_asms.size());
m_hard_lim.push_back(m_hard.size());
m_values_lim.push_back(m_values.size());
m_objectives_lim.push_back(m_objectives.size());
m_objectives_term_trail_lim.push_back(m_objectives_term_trail.size());
}