diff options
author | Aina Niemetz <aina.niemetz@gmail.com> | 2021-09-09 14:33:08 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-09 21:33:08 +0000 |
commit | 44657985f2d52f58803cf64cf9da93e6419ade35 (patch) | |
tree | b0afc9f1a0fd2385ab67792db927fd3b6eec42e4 /src/preprocessing/passes/bool_to_bv.cpp | |
parent | e5aaebbbc5ea11b0cb3468169e5c80bf38868c82 (diff) |
pp passes: Use EnvObj::rewrite() instead of Rewriter::rewrite(). (#7164)
Diffstat (limited to 'src/preprocessing/passes/bool_to_bv.cpp')
-rw-r--r-- | src/preprocessing/passes/bool_to_bv.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/preprocessing/passes/bool_to_bv.cpp b/src/preprocessing/passes/bool_to_bv.cpp index a789a0d0b..f5152f0d2 100644 --- a/src/preprocessing/passes/bool_to_bv.cpp +++ b/src/preprocessing/passes/bool_to_bv.cpp @@ -50,7 +50,7 @@ PreprocessingPassResult BoolToBV::applyInternal( for (size_t i = 0; i < size; ++i) { Node newAssertion = lowerAssertion((*assertionsToPreprocess)[i], true); - assertionsToPreprocess->replace(i, Rewriter::rewrite(newAssertion)); + assertionsToPreprocess->replace(i, rewrite(newAssertion)); } } else @@ -59,7 +59,7 @@ PreprocessingPassResult BoolToBV::applyInternal( for (size_t i = 0; i < size; ++i) { assertionsToPreprocess->replace( - i, Rewriter::rewrite(lowerIte((*assertionsToPreprocess)[i]))); + i, rewrite(lowerIte((*assertionsToPreprocess)[i]))); } } |