From b8504ef92ef609ddeaf093299811aa8d6d6396ad Mon Sep 17 00:00:00 2001 From: Andrew Reynolds Date: Wed, 3 Nov 2021 16:12:37 -0500 Subject: [PATCH] Fix debug trace for miplib (#7563) A debug trace on miplib referred to a possibly out of bounds child. --- src/preprocessing/passes/miplib_trick.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/preprocessing/passes/miplib_trick.cpp b/src/preprocessing/passes/miplib_trick.cpp index d432d8ed1..61be4395b 100644 --- a/src/preprocessing/passes/miplib_trick.cpp +++ b/src/preprocessing/passes/miplib_trick.cpp @@ -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; -- 2.30.2