CID 1459592: Always checking whether rd is null or not. (#1299)
authorTim King <taking@cs.nyu.edu>
Tue, 31 Oct 2017 21:39:45 +0000 (14:39 -0700)
committerAndrew Reynolds <andrew.j.reynolds@gmail.com>
Tue, 31 Oct 2017 21:39:45 +0000 (16:39 -0500)
src/theory/quantifiers/inst_strategy_enumerative.cpp

index 8b825d50ddf78286c6f6b948608019e1ae836dda..67930ce2b6d4c0136a90c3e3662b981c09f9d076 100644 (file)
@@ -135,7 +135,7 @@ bool InstStrategyEnum::process(Node f, bool fullEffort)
         Trace("inst-alg") << "-> Ground term instantiate " << f << "..."
                           << std::endl;
       }
-      Assert(rd != NULL);
+      AlwaysAssert(rd);
       Trace("inst-alg-debug") << "Compute relevant domain..." << std::endl;
       rd->compute();
       Trace("inst-alg-debug") << "...finished" << std::endl;