fix(library/norm_num): unused variables warnings
This commit is contained in:
parent
ab98be633a
commit
770ca546be
1 changed files with 2 additions and 2 deletions
|
@ -671,7 +671,7 @@ expr norm_num_context::mk_norm_eq_pos_add_neg(expr & s_lhs, expr & s_rhs, expr &
|
||||||
}
|
}
|
||||||
|
|
||||||
// returns a proof that s_lhs + s_rhs = rhs, where all are nonneg normalized numerals
|
// returns a proof that s_lhs + s_rhs = rhs, where all are nonneg normalized numerals
|
||||||
expr norm_num_context::mk_norm_eq_pos_add_pos(expr & s_lhs, expr & s_rhs, expr & rhs) {
|
expr norm_num_context::mk_norm_eq_pos_add_pos(expr & s_lhs, expr & s_rhs, expr & DEBUG_CODE(rhs)) {
|
||||||
lean_assert(!is_neg_app(s_lhs));
|
lean_assert(!is_neg_app(s_lhs));
|
||||||
lean_assert(!is_neg_app(s_rhs));
|
lean_assert(!is_neg_app(s_rhs));
|
||||||
lean_assert(!is_neg_app(rhs));
|
lean_assert(!is_neg_app(rhs));
|
||||||
|
@ -718,7 +718,7 @@ expr norm_num_context::mk_norm_eq_pos_mul_neg(expr & s_lhs, expr & s_rhs, expr &
|
||||||
}
|
}
|
||||||
|
|
||||||
// returns a proof that s_lhs + s_rhs = rhs, where all are nonneg normalized numerals
|
// returns a proof that s_lhs + s_rhs = rhs, where all are nonneg normalized numerals
|
||||||
expr norm_num_context::mk_norm_eq_pos_mul_pos(expr & s_lhs, expr & s_rhs, expr & rhs) {
|
expr norm_num_context::mk_norm_eq_pos_mul_pos(expr & s_lhs, expr & s_rhs, expr & DEBUG_CODE(rhs)) {
|
||||||
lean_assert(!is_neg_app(s_lhs));
|
lean_assert(!is_neg_app(s_lhs));
|
||||||
lean_assert(!is_neg_app(s_rhs));
|
lean_assert(!is_neg_app(s_rhs));
|
||||||
lean_assert(!is_neg_app(rhs));
|
lean_assert(!is_neg_app(rhs));
|
||||||
|
|
Loading…
Reference in a new issue