From: Christopher L. Conway Date: Fri, 5 Nov 2010 17:43:52 +0000 (+0000) Subject: Moving Options fiddling to options.h X-Git-Tag: cvc5-1.0.0~8745 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dbcc42c807706a20fcc2c45619d3cd949b6de37a;p=cvc5.git Moving Options fiddling to options.h --- diff --git a/src/main/main.cpp b/src/main/main.cpp index c740604c3..fcd322e99 100644 --- a/src/main/main.cpp +++ b/src/main/main.cpp @@ -155,10 +155,6 @@ int runCvc4(int argc, char* argv[]) { // If in competition mode, set output stream option to flush immediately #ifdef CVC4_COMPETITION_MODE *options.out << unitbuf; - // competition mode implies --no-checking - options.semanticChecks = false; - options.typeChecking = false; - options.earlyTypeChecking = false; #endif // We only accept one input file diff --git a/src/util/options.h b/src/util/options.h index a7e9c8a2a..350c031c7 100644 --- a/src/util/options.h +++ b/src/util/options.h @@ -27,7 +27,7 @@ # define USE_EARLY_TYPE_CHECKING_BY_DEFAULT false #endif /* CVC4_DEBUG */ -#ifdef CVC4_MUZZLED +#if defined(CVC4_MUZZLED) || defined(CVC4_COMPETITION_MODE) # define DO_SEMANTIC_CHECKS_BY_DEFAULT false #else # define DO_SEMANTIC_CHECKS_BY_DEFAULT true