fix(library/blast): typos

This commit is contained in:
Leonardo de Moura 2015-10-06 08:35:24 -07:00
parent 0715c86ff4
commit 3bb09e9959
2 changed files with 2 additions and 2 deletions

View file

@ -66,7 +66,7 @@ class blastenv {
lean_unreachable();
}
expr visit_sort(expr const & e) {
virtual expr visit_sort(expr const & e) {
return blast::mk_sort(to_blast_level(sort_level(e)));
}

View file

@ -338,7 +338,7 @@ static bool assign_mref_core(expr const & ma, expr const & v) {
// 3. Any local constant occurring in new_v occurs in locals
// 4. m does not occur in new_v
bool ok = true;
for_each(v, [&](expr const & e, unsigned) {
for_each(new_v, [&](expr const & e, unsigned) {
if (!ok)
return false; // stop search
if (is_href(e)) {