From 43ab3f4cd1aa5549cb1aa3c20a2d589614bcb8fc Mon Sep 17 00:00:00 2001 From: Mathias Preiner Date: Wed, 30 Oct 2019 15:27:10 -0700 Subject: Unify CVC4_CHECK/CVC4_DCHECK/AlwaysAssert/Assert. (#3366) --- src/preprocessing/passes/ackermann.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/preprocessing/passes/ackermann.cpp') diff --git a/src/preprocessing/passes/ackermann.cpp b/src/preprocessing/passes/ackermann.cpp index 7ba689d0a..4b5873e80 100644 --- a/src/preprocessing/passes/ackermann.cpp +++ b/src/preprocessing/passes/ackermann.cpp @@ -23,6 +23,7 @@ #include "preprocessing/passes/ackermann.h" +#include "base/check.h" #include "options/options.h" using namespace CVC4; @@ -169,9 +170,8 @@ void collectFunctionsAndLemmas(FunctionToArgsMap& fun_to_args, } else { - AlwaysAssert( - term.getKind() != kind::STORE, - "Cannot use Ackermannization on formula with stores to arrays"); + AlwaysAssert(term.getKind() != kind::STORE) + << "Cannot use Ackermannization on formula with stores to arrays"; /* add children to the vector, so that they are processed later */ for (TNode n : term) { -- cgit v1.2.3