Skip to content

Commit

Permalink
fix #5287
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolajBjorner committed May 20, 2021
1 parent a59dcfd commit 17be37a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd_context/simplify_cmd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class simplify_cmd : public parametric_cmd {
ctx.display(ctx.regular_stream(), r);
ctx.regular_stream() << std::endl;
}
if (!failed && m_params.get_bool("print_proofs", false)) {
if (!failed && m_params.get_bool("print_proofs", false) && pr.get()) {
ast_smt_pp pp(ctx.m());
pp.set_logic(ctx.get_logic());
pp.display_expr_smt2(ctx.regular_stream(), pr.get());
Expand Down

0 comments on commit 17be37a

Please sign in to comment.