Fix printer for datatype udpater (#7208)
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>
Sat, 18 Sep 2021 00:49:51 +0000 (19:49 -0500)
committerGitHub <noreply@github.com>
Sat, 18 Sep 2021 00:49:51 +0000 (00:49 +0000)
src/printer/smt2/smt2_printer.cpp

index b92d8fa431fc7842729bbd7662a1c4813b4d30e0..6217276b1698241f4744c945fe4cae305059fe36 100644 (file)
@@ -786,6 +786,7 @@ void Smt2Printer::toStream(std::ostream& out,
   break;
   case kind::APPLY_UPDATER:
   {
+    stillNeedToPrintParams = false;
     Node op = n.getOperator();
     size_t index = DType::indexOf(op);
     const DType& dt = DType::datatypeOf(op);