We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
z3/src/opt/maxres.cpp
Line 293 in 8439057
... if (m_hill_climb) { /** Give preference to cores that have large minimal values. */ sort_assumptions(asms); m_last_index = std::min(m_last_index, asms.size()-1); //assigned for the first time m_last_index = 0; //assigned twice unsigned index = m_last_index>0?m_last_index-1:0; m_last_index = 0; bool first = index > 0; SASSERT(index < asms.size() || asms.empty()); IF_VERBOSE(10, verbose_stream() << "start hill climb " << index << " asms: " << asms.size() << "\n";); while (index < asms.size() && is_sat == l_true) { while (!first && asms.size() > 20*(index - m_last_index) && index < asms.size()) { index = next_index(asms, index); } first = false; m_last_index = index; is_sat = check_sat(index, asms.c_ptr()); } } ...
Reported by: USTCHCS Analysis Toolsuite Bugfinder (bugfinder-2.7: A variable should not be assigned values twice successively.)
The text was updated successfully, but these errors were encountered:
fix #4624 #4633 #4632 #4631
c41abf2
Signed-off-by: Nikolaj Bjorner <[email protected]>
No branches or pull requests
z3/src/opt/maxres.cpp
Line 293 in 8439057
Reported by: USTCHCS Analysis Toolsuite Bugfinder
(bugfinder-2.7: A variable should not be assigned values twice successively.)
The text was updated successfully, but these errors were encountered: