Initializes InstPropagator::d_has_relevant_inst. Resolves 1362891. (#1360)
authorTim King <taking@cs.nyu.edu>
Tue, 14 Nov 2017 13:08:53 +0000 (05:08 -0800)
committerAndrew Reynolds <andrew.j.reynolds@gmail.com>
Tue, 14 Nov 2017 13:08:53 +0000 (07:08 -0600)
* Initializes InstPropagator::d_has_relevant_inst. Resolves 1362891.

* Initializing to false explicitly.

src/theory/quantifiers/inst_propagator.cpp

index 49de464b1f087da48c09aaa905f68ee5478a3af6..0ae7adfecdc200b704d154938429bb5971c2beb0 100644 (file)
@@ -600,11 +600,13 @@ void InstPropagator::InstInfo::init( Node q, Node lem, std::vector< Node >& term
   d_curr_exp.push_back( body );
 }
 
-InstPropagator::InstPropagator( QuantifiersEngine* qe ) :
-d_qe( qe ), d_notify(*this), d_qy( qe ){
-  d_icount = 1;
-  d_conflict = false;
-}
+InstPropagator::InstPropagator(QuantifiersEngine* qe)
+    : d_qe(qe),
+      d_notify(*this),
+      d_qy(qe),
+      d_icount(1),
+      d_conflict(false),
+      d_has_relevant_inst(false) {}
 
 bool InstPropagator::reset( Theory::Effort e ) {
   d_icount = 1;