Fix instantiation stat for fmf (#2889)
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>
Fri, 22 Mar 2019 20:28:50 +0000 (15:28 -0500)
committerAndres Noetzli <andres.noetzli@gmail.com>
Fri, 22 Mar 2019 20:28:50 +0000 (20:28 +0000)
src/theory/quantifiers/fmf/model_engine.cpp

index d2579b4ee7033acc8c3b3a8a2994cd9a086c1fff..cbeca7bcdbc06150778adfbce2bc6743468f711f 100644 (file)
@@ -266,7 +266,8 @@ void ModelEngine::exhaustiveInstantiate( Node f, int effort ){
     }
     d_triedLemmas += mb->getNumTriedLemmas()-prev_tlem;
     d_addedLemmas += mb->getNumAddedLemmas()-prev_alem;
-    d_quantEngine->d_statistics.d_instantiations_fmf_mbqi += mb->getNumAddedLemmas();
+    d_quantEngine->d_statistics.d_instantiations_fmf_mbqi +=
+        (mb->getNumAddedLemmas() - prev_alem);
   }else{
     if( Trace.isOn("fmf-exh-inst-debug") ){
       Trace("fmf-exh-inst-debug") << "   Instantiation Constants: ";