3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 10:25:18 +00:00

Flush the trace stream before displaying sat results (#6162)

This commit is contained in:
Andrea Lattuada 2022-07-14 13:43:57 -07:00 committed by GitHub
parent 2f5fef92b7
commit af80bd18ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1827,6 +1827,10 @@ void cmd_context::add_declared_functions(model& mdl) {
}
void cmd_context::display_sat_result(lbool r) {
if (has_manager() && m().has_trace_stream()) {
m().trace_stream().flush();
}
switch (r) {
case l_true:
regular_stream() << "sat" << std::endl;