From 2405b98feeed522d7304207280591a71ee6c319a Mon Sep 17 00:00:00 2001 From: Andrew Reynolds Date: Wed, 26 Feb 2020 15:43:07 -0600 Subject: [PATCH] Fix regression (#3827) --- src/theory/bv/theory_bv.cpp | 2 +- test/regress/regress1/bv/issue3654.smt2 | 2 +- test/regress/regress1/bv/issue3776.smt2 | 2 +- test/regress/regress1/sygus/issue3802-default-consts.sy | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/theory/bv/theory_bv.cpp b/src/theory/bv/theory_bv.cpp index 03f55c059..033a50916 100644 --- a/src/theory/bv/theory_bv.cpp +++ b/src/theory/bv/theory_bv.cpp @@ -622,7 +622,7 @@ int TheoryBV::getReduction(int effort, Node n, Node& nr) } else if (n.getKind() == kind::INT_TO_BITVECTOR) { - nr = utils::eliminateBv2Nat(n); + nr = utils::eliminateInt2Bv(n); return -1; } return 0; diff --git a/test/regress/regress1/bv/issue3654.smt2 b/test/regress/regress1/bv/issue3654.smt2 index 59c11456f..a1e2f8b87 100644 --- a/test/regress/regress1/bv/issue3654.smt2 +++ b/test/regress/regress1/bv/issue3654.smt2 @@ -1,4 +1,4 @@ -; COMMAND_LINE: --ext-rew-prep +; COMMAND-LINE: --ext-rew-prep ; EXPECT: sat (set-logic QF_BV) (declare-fun a () (_ BitVec 4)) diff --git a/test/regress/regress1/bv/issue3776.smt2 b/test/regress/regress1/bv/issue3776.smt2 index 215f3e253..30c034c70 100644 --- a/test/regress/regress1/bv/issue3776.smt2 +++ b/test/regress/regress1/bv/issue3776.smt2 @@ -1,4 +1,4 @@ -; COMMAND_LINE: --rewrite-divk +; COMMAND-LINE: --rewrite-divk ; EXPECT: sat (set-logic QF_BVLIA) (declare-fun t () Int) diff --git a/test/regress/regress1/sygus/issue3802-default-consts.sy b/test/regress/regress1/sygus/issue3802-default-consts.sy index 10daee6ec..e07365052 100644 --- a/test/regress/regress1/sygus/issue3802-default-consts.sy +++ b/test/regress/regress1/sygus/issue3802-default-consts.sy @@ -1,5 +1,5 @@ ; EXPECT: unsat -; COMMAND-LINE: --sygus-out=status +; COMMAND-LINE: --sygus-out=status --lang=sygus2 (set-logic ALL) (synth-fun f () Bool -- 2.30.2