projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
831bf34
)
ite_utilities: Fix infinite loop in compressTerm. (#5629)
author
Aina Niemetz
<aina.niemetz@gmail.com>
Wed, 9 Dec 2020 01:03:49 +0000
(17:03 -0800)
committer
GitHub
<noreply@github.com>
Wed, 9 Dec 2020 01:03:49 +0000
(17:03 -0800)
Fixes #4610.
src/preprocessing/util/ite_utilities.cpp
patch
|
blob
|
history
diff --git
a/src/preprocessing/util/ite_utilities.cpp
b/src/preprocessing/util/ite_utilities.cpp
index c9bf283ac490c9a36ab90ed5f6eea2fa12a010ab..7e05af6981f9c28f75ea6f55e8f18ce3fcdf2d6c 100644
(file)
--- a/
src/preprocessing/util/ite_utilities.cpp
+++ b/
src/preprocessing/util/ite_utilities.cpp
@@
-450,7
+450,7
@@
Node ITECompressor::compressTerm(Node toCompress)
if (cmpCnd.isConst())
{
Node branch = (cmpCnd == d_true) ? toCompress[1] : toCompress[2];
- Node res = compressTerm(
toCompress
);
+ Node res = compressTerm(
branch
);
d_compressed[toCompress] = res;
return res;
}