Skip to content

Commit 4f060dd

Browse files
fix #7445
1 parent abd1674 commit 4f060dd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/cmd_context/basic_cmds.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ class set_option_cmd : public set_get_option_cmd {
467467
ctx.set_produce_unsat_cores(to_bool(value));
468468
}
469469
else if (m_option == m_produce_unsat_assumptions) {
470-
check_not_initialized(ctx, m_produce_unsat_assumptions);
470+
check_no_assertions(ctx, m_produce_unsat_assumptions);
471471
ctx.set_produce_unsat_assumptions(to_bool(value));
472472
}
473473
else if (m_option == m_produce_models) {
@@ -626,6 +626,9 @@ class get_option_cmd : public set_get_option_cmd {
626626
else if (opt == m_produce_assignments) {
627627
print_bool(ctx, ctx.produce_assignments());
628628
}
629+
else if (opt == m_produce_unsat_assumptions) {
630+
print_bool(ctx, ctx.produce_unsat_assumptions());
631+
}
629632
else if (opt == m_global_decls || opt == m_global_declarations) {
630633
print_bool(ctx, ctx.global_decls());
631634
}

0 commit comments

Comments
 (0)