mirror of
https://github.com/Z3Prover/z3
synced 2025-04-14 21:08:46 +00:00
Style, formatting
This commit is contained in:
parent
e0ff9d8fd9
commit
8b6d7c0251
|
@ -51,8 +51,6 @@ public:
|
||||||
|
|
||||||
virtual void operator()(model_ref & md) { operator()(md, 0); }
|
virtual void operator()(model_ref & md) { operator()(md, 0); }
|
||||||
|
|
||||||
//void display(std::ostream & out);
|
|
||||||
|
|
||||||
virtual model_converter * translate(ast_translation & translator) {
|
virtual model_converter * translate(ast_translation & translator) {
|
||||||
ackr_info_ref retv_info = info->translate(translator);
|
ackr_info_ref retv_info = info->translate(translator);
|
||||||
if (fixed_model) {
|
if (fixed_model) {
|
||||||
|
@ -63,6 +61,7 @@ public:
|
||||||
return alloc(ackr_model_converter, translator.to(), retv_info);
|
return alloc(ackr_model_converter, translator.to(), retv_info);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
ast_manager & m;
|
ast_manager & m;
|
||||||
const ackr_info_ref info;
|
const ackr_info_ref info;
|
||||||
|
@ -91,7 +90,8 @@ void ackr_model_converter::convert_constants(model * source, model * destination
|
||||||
expr * value = source->get_const_interp(c);
|
expr * value = source->get_const_interp(c);
|
||||||
if (!term) {
|
if (!term) {
|
||||||
destination->register_decl(c, value);
|
destination->register_decl(c, value);
|
||||||
} else {
|
}
|
||||||
|
else {
|
||||||
add_entry(evaluator, term, value, interpretations);
|
add_entry(evaluator, term, value, interpretations);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -134,7 +134,8 @@ void ackr_model_converter::add_entry(model_evaluator & evaluator,
|
||||||
}
|
}
|
||||||
if (fi->get_entry(args.c_ptr()) == 0) {
|
if (fi->get_entry(args.c_ptr()) == 0) {
|
||||||
fi->insert_new_entry(args.c_ptr(), value);
|
fi->insert_new_entry(args.c_ptr(), value);
|
||||||
} else {
|
}
|
||||||
|
else {
|
||||||
TRACE("ackr_model", tout << "entry already present\n";);
|
TRACE("ackr_model", tout << "entry already present\n";);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue