projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25b8d01
)
Fix debug trace for miplib (#7563)
author
Andrew Reynolds
<andrew.j.reynolds@gmail.com>
Wed, 3 Nov 2021 21:12:37 +0000
(16:12 -0500)
committer
GitHub
<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
patch
|
blob
|
history
diff --git
a/src/preprocessing/passes/miplib_trick.cpp
b/src/preprocessing/passes/miplib_trick.cpp
index d432d8ed15b78ddbb353a2fd58f00b293ac3a439..61be4395ba70bc64250eccc665e3de0e98b010dc 100644
(file)
--- 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;