projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4423297
)
[Strings] Remove redundant call to rewriter (#7978)
author
Andres Noetzli
<andres.noetzli@gmail.com>
Tue, 25 Jan 2022 04:01:13 +0000
(20:01 -0800)
committer
GitHub
<noreply@github.com>
Tue, 25 Jan 2022 04:01:13 +0000
(
04:01
+0000)
The term being rewritten was already rewritten a couple of lines above.
src/theory/strings/inference_manager.cpp
patch
|
blob
|
history
diff --git
a/src/theory/strings/inference_manager.cpp
b/src/theory/strings/inference_manager.cpp
index c7020869ff9c476dcd99a832b8f4fb1ead4f5774..b12833b055013bf3b932fce75eeab0604f34cc5e 100644
(file)
--- a/
src/theory/strings/inference_manager.cpp
+++ b/
src/theory/strings/inference_manager.cpp
@@
-243,7
+243,6
@@
bool InferenceManager::sendSplit(Node a, Node b, InferenceId infer, bool preq)
InferInfo iiSplit(infer);
iiSplit.d_sim = this;
iiSplit.d_conc = nm->mkNode(OR, eq, nm->mkNode(NOT, eq));
- eq = rewrite(eq);
addPendingPhaseRequirement(eq, preq);
addPendingLemma(std::unique_ptr<InferInfo>(new InferInfo(iiSplit)));
return true;