diff options
author | Aina Niemetz <aina.niemetz@gmail.com> | 2017-08-07 17:05:47 -0700 |
---|---|---|
committer | Aina Niemetz <aina.niemetz@gmail.com> | 2017-08-07 17:05:51 -0700 |
commit | 2ab30bbb3f57b336e55db51ae42d63569ec8a9cc (patch) | |
tree | a6e33502bde0d256319c73f0767e44f17e2c6726 /src | |
parent | 6eee137dc64e3f2c467d70edf2bb18abd6b3b071 (diff) |
Fix compiler warning in theory/quantifiers/term_database_sygus.cpp
Diffstat (limited to 'src')
-rw-r--r-- | src/theory/quantifiers/term_database_sygus.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |