3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-15 05:18:44 +00:00

fixed typo in optimized unsat core plugin code

This commit is contained in:
Bernhard Gleiss 2017-08-01 10:12:29 +02:00 committed by Arie Gurfinkel
parent e315d063c5
commit bc3d8580c9

View file

@ -330,8 +330,7 @@ void unsat_core_plugin_farkas_lemma::compute_linear_combination(const vector<rat
{
SASSERT(!m_learner.is_a_marked(premise));
// XXX AG: why is this condition is based on step and not on premise?
if (m_learner.only_contains_symbols_b(m_learner.m.get_fact(step)) && !m_learner.is_h_marked(step))
if (m_learner.only_contains_symbols_b(m_learner.m.get_fact(premise)) && !m_learner.is_h_marked(premise))
{
rational coefficient;
VERIFY(params[i].is_rational(coefficient));