3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 01:25:31 +00:00

Fix spelling errors

This commit is contained in:
Fabian Wolff 2016-07-09 11:46:43 +02:00
parent d5ee7e24bc
commit 6eaab00e83
15 changed files with 18 additions and 18 deletions

View file

@ -461,7 +461,7 @@ namespace datalog {
return 0;
}
if (!ps.is_ast() || !is_sort(ps.get_ast()) || !is_fin_sort(to_sort(ps.get_ast()))) {
m_manager->raise_exception("second paramter should be a finite domain sort");
m_manager->raise_exception("second parameter should be a finite domain sort");
return 0;
}
sort* s = to_sort(ps.get_ast());

View file

@ -125,8 +125,8 @@ struct pull_quant::imp {
// of nested_q->get_expr().
m_shift(nested_q->get_expr(),
nested_q->get_num_decls(), // bound for shift1/shift2
num_decls - nested_q->get_num_decls(), // shift1 (shift by this ammount if var idx >= bound)
shift_amount, // shift2 (shift by this ammount if var idx < bound)
num_decls - nested_q->get_num_decls(), // shift1 (shift by this amount if var idx >= bound)
shift_amount, // shift2 (shift by this amount if var idx < bound)
adjusted_child);
TRACE("pull_quant", tout << "shifted bound: " << nested_q->get_num_decls() << " shift1: " << shift_amount <<
" shift2: " << (num_decls - nested_q->get_num_decls()) << "\n" << mk_pp(nested_q->get_expr(), m_manager) <<

View file

@ -15,5 +15,5 @@ def_module_params('pp',
('flat_assoc', BOOL, True, 'flat associative operators (when pretty printing SMT2 terms/formulas)'),
('fixed_indent', BOOL, False, 'use a fixed indentation for applications'),
('single_line', BOOL, False, 'ignore line breaks when true'),
('bounded', BOOL, False, 'ignore characters exceeding max widht'),
('bounded', BOOL, False, 'ignore characters exceeding max width'),
('simplify_implies', BOOL, True, 'simplify nested implications for pretty printing')))