feat(library/blast/state): improve lazy initialization
This commit is contained in:
parent
3ee32c02d8
commit
20cfe9e02e
1 changed files with 1 additions and 1 deletions
|
@ -729,11 +729,11 @@ branch_extension & state::get_extension(unsigned extid) {
|
|||
m_branch.m_extensions[extid] = ext;
|
||||
lean_assert(ext->get_rc() == 1);
|
||||
ext->initialized();
|
||||
ext->target_updated();
|
||||
m_branch.m_active.for_each([&](hypothesis_idx hidx) {
|
||||
hypothesis const & h = get_hypothesis_decl(hidx);
|
||||
ext->hypothesis_activated(h, hidx);
|
||||
});
|
||||
ext->target_updated();
|
||||
return *ext;
|
||||
} else {
|
||||
branch_extension * ext = get_extension_core(extid);
|
||||
|
|
Loading…
Reference in a new issue