fix(library/blast/recursor/recursor_strategy): deactivate hypotheses before invoking nested strategy

This commit is contained in:
Leonardo de Moura 2016-01-12 18:41:14 -08:00
parent 292f28e769
commit c2b6e3c29c

View file

@ -155,6 +155,9 @@ class rec_strategy_fn : public strategy_fn {
Try(activate_hypothesis());
Try(rec_action(m_selector));
}
/* The recursor tactic does very little, so we deactivate all hypotheses
and allow m_S to process them again. */
curr_state().deactivate_all();
if (optional<expr> pf = m_S()) {
return action_result::solved(*pf);
}