Skip to content

Commit

Permalink
fix #7445
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolajBjorner committed Nov 10, 2024
1 parent abd1674 commit 4f060dd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/cmd_context/basic_cmds.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ class set_option_cmd : public set_get_option_cmd {
ctx.set_produce_unsat_cores(to_bool(value));
}
else if (m_option == m_produce_unsat_assumptions) {
check_not_initialized(ctx, m_produce_unsat_assumptions);
check_no_assertions(ctx, m_produce_unsat_assumptions);
ctx.set_produce_unsat_assumptions(to_bool(value));
}
else if (m_option == m_produce_models) {
Expand Down Expand Up @@ -626,6 +626,9 @@ class get_option_cmd : public set_get_option_cmd {
else if (opt == m_produce_assignments) {
print_bool(ctx, ctx.produce_assignments());
}
else if (opt == m_produce_unsat_assumptions) {
print_bool(ctx, ctx.produce_unsat_assumptions());
}
else if (opt == m_global_decls || opt == m_global_declarations) {
print_bool(ctx, ctx.global_decls());
}
Expand Down

0 comments on commit 4f060dd

Please sign in to comment.