From: Andrew Reynolds Date: Wed, 3 Nov 2021 21:12:37 +0000 (-0500) Subject: Fix debug trace for miplib (#7563) X-Git-Tag: cvc5-1.0.0~900 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b8504ef92ef609ddeaf093299811aa8d6d6396ad;p=cvc5.git Fix debug trace for miplib (#7563) A debug trace on miplib referred to a possibly out of bounds child. --- 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;