From 2ab30bbb3f57b336e55db51ae42d63569ec8a9cc Mon Sep 17 00:00:00 2001 From: Aina Niemetz Date: Mon, 7 Aug 2017 17:05:47 -0700 Subject: [PATCH] Fix compiler warning in theory/quantifiers/term_database_sygus.cpp --- src/theory/quantifiers/term_database_sygus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/theory/quantifiers/term_database_sygus.cpp b/src/theory/quantifiers/term_database_sygus.cpp index d8913da56..62ba32d1e 100644 --- a/src/theory/quantifiers/term_database_sygus.cpp +++ b/src/theory/quantifiers/term_database_sygus.cpp @@ -1005,7 +1005,7 @@ int TermDbSygus::solveForArgument( TypeNode tn, unsigned cindex, unsigned arg ) solve_ret = getConstConsNum( tn, builtin ); if( solve_ret!=-1 ){ // t - s -----> ( 0 - s ) + t - rt.d_req_kind = MINUS ? PLUS : BITVECTOR_PLUS; + rt.d_req_kind = nk == MINUS ? PLUS : BITVECTOR_PLUS; rt.d_children[0].d_req_type = tn; // avoid? rt.d_children[0].d_req_kind = nk; rt.d_children[0].d_children[0].d_req_const = builtin; -- 2.30.2