competition mode implies --no-checking
authorMorgan Deters <mdeters@gmail.com>
Thu, 4 Nov 2010 21:01:31 +0000 (21:01 +0000)
committerMorgan Deters <mdeters@gmail.com>
Thu, 4 Nov 2010 21:01:31 +0000 (21:01 +0000)
src/main/main.cpp

index fcd322e993362ed4f903564b0f329f805408dfc0..c740604c3ef2b21c1e68d98c694458a81b3a13ae 100644 (file)
@@ -155,6 +155,10 @@ 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