[Strings] Remove redundant call to rewriter (#7978)
authorAndres Noetzli <andres.noetzli@gmail.com>
Tue, 25 Jan 2022 04:01:13 +0000 (20:01 -0800)
committerGitHub <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

index c7020869ff9c476dcd99a832b8f4fb1ead4f5774..b12833b055013bf3b932fce75eeab0604f34cc5e 100644 (file)
@@ -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;