Skip to content

Commit

Permalink
fix crash in BV internalizer due to unknown bv_neg symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
nunoplopes committed Nov 16, 2019
1 parent cb600a9 commit b9bc697
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ast/rewriter/fpa_rewriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,7 @@ br_status fpa_rewriter::mk_to_ieee_bv(func_decl * f, expr * arg, expr_ref & resu
if (m_fm.is_nan(v)) {
if (m_hi_fp_unspecified) {
expr * args[4] = { bu.mk_numeral(0, 1),
bu.mk_bv_neg(bu.mk_numeral(1, x.get_ebits())),
bu.mk_numeral(rational::minus_one(), x.get_ebits()),
bu.mk_numeral(0, x.get_sbits() - 2),
bu.mk_numeral(1, 1) };
result = bu.mk_concat(4, args);
Expand Down

0 comments on commit b9bc697

Please sign in to comment.