Fix rewrite rule filtering. (#2591)
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>
Fri, 5 Oct 2018 05:34:16 +0000 (00:34 -0500)
committerAndres Noetzli <andres.noetzli@gmail.com>
Fri, 5 Oct 2018 05:34:16 +0000 (22:34 -0700)
src/theory/quantifiers/candidate_rewrite_database.cpp

index bba5b3c1869bf89eb7ca31cd547d969685929c5e..908bef92c6b246347773df6fcf5f7978469e7d87 100644 (file)
@@ -64,7 +64,7 @@ void CandidateRewriteDatabase::initializeSygus(const std::vector<Node>& vars,
   d_qe = qe;
   d_tds = d_qe->getTermDatabaseSygus();
   d_ext_rewrite = nullptr;
-  d_crewrite_filter.initialize(ss, d_tds, false);
+  d_crewrite_filter.initialize(ss, d_tds, d_using_sygus);
   ExprMiner::initialize(vars, ss);
 }