fix(library/blast/simplify_actions): compilation error due to recent changes in the simplifier API

This commit is contained in:
Leonardo de Moura 2015-11-16 10:13:27 -08:00
parent 5e8068b2b2
commit a567cce685

View file

@ -43,7 +43,7 @@ action_result simplify_target_action() {
bool iff = use_iff(target); bool iff = use_iff(target);
name rname = iff ? get_iff_name() : get_eq_name(); name rname = iff ? get_iff_name() : get_eq_name();
auto r = simplify(rname, target, s.get_simp_rule_sets()); auto r = simplify(rname, target, s.get_simp_rule_sets());
if (r.is_none()) if (!r.has_proof())
return action_result::failed(); // did nothing return action_result::failed(); // did nothing
s.push_proof_step(new simplify_target_proof_step_cell(iff, r.get_proof())); s.push_proof_step(new simplify_target_proof_step_cell(iff, r.get_proof()));
s.set_target(r.get_new()); s.set_target(r.get_new());