Fix debug trace for miplib (#7563)
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>
Wed, 3 Nov 2021 21:12:37 +0000 (16:12 -0500)
committerGitHub <noreply@github.com>
Wed, 3 Nov 2021 21:12:37 +0000 (21:12 +0000)
A debug trace on miplib referred to a possibly out of bounds child.

src/preprocessing/passes/miplib_trick.cpp

index d432d8ed15b78ddbb353a2fd58f00b293ac3a439..61be4395ba70bc64250eccc665e3de0e98b010dc 100644 (file)
@@ -648,7 +648,7 @@ PreprocessingPassResult MipLibTrick::applyInternal(
           d_statistics.d_numMiplibAssertionsRemoved += removals;
         }
       }
-      Debug("miplib") << "had: " << assertion[i] << endl;
+      Debug("miplib") << "had: " << assertion << endl;
       assertionsToPreprocess->replace(
           i, rewrite(top_level_substs.apply(assertion)));
       Debug("miplib") << "now: " << assertion << endl;