fix(library/idx_metavar): compilation problem in debug mode

This commit is contained in:
Leonardo de Moura 2015-06-09 14:37:17 -07:00
parent e3a0e62859
commit f3d50963ce

View file

@ -38,7 +38,7 @@ bool is_idx_metauniv(level const & l) {
}
unsigned to_meta_idx(level const & l) {
lean_assert(is_idx_meta_univ(l));
lean_assert(is_idx_metauniv(l));
return meta_id(l).get_numeral();
}
@ -50,7 +50,7 @@ bool is_idx_metavar(expr const & e) {
}
unsigned to_meta_idx(expr const & e) {
lean_assert(is_idx_meta(e));
lean_assert(is_idx_metavar(e));
return mlocal_name(e).get_numeral();
}
}