fix(library/blast): compilation errors in debug mode

This commit is contained in:
Leonardo de Moura 2015-11-18 18:01:58 -08:00
parent 808e6f0089
commit b61eb3ea0c
2 changed files with 2 additions and 2 deletions

View file

@ -712,7 +712,7 @@ branch_extension & state::get_extension(unsigned extid) {
branch_extension * ext = get_extension_manager().get_initial(extid)->clone();;
ext->inc_ref();
m_branch.m_extensions[extid] = ext;
lean_assert(ext.get_rc() == 1);
lean_assert(ext->get_rc() == 1);
ext->initialized();
m_branch.m_active.for_each([&](hypothesis_idx hidx) {
hypothesis const * h = get_hypothesis_decl(hidx);

View file

@ -74,7 +74,7 @@ bool subst_core(hypothesis_idx hidx) {
new_target = instantiate(new_target, lhs);
s.push_proof_step(new subst_proof_step_cell(target, h->get_self(), rhs, dep));
s.set_target(new_target);
lean_verify(intros_action(num));
intros_action(num);
}
lean_verify(s.del_hypothesis(hidx));
lean_verify(s.del_hypothesis(href_index(rhs)));