Skip to content

Commit

Permalink
[TIR][Printer] Fix SelectNode TIRTextPrinter bracket mismatch (apache…
Browse files Browse the repository at this point in the history
…#7405)

Co-authored-by: honghua.cao <[email protected]>
  • Loading branch information
Beya2019 and honghua.cao authored Feb 12, 2021
1 parent 33829b3 commit d5851dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/printer/tir_text_printer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ Doc TIRTextPrinter::VisitExpr_(const NotNode* op) {
Doc TIRTextPrinter::VisitExpr_(const SelectNode* op) {
Doc doc;
doc << "select(" << Print(op->condition) << ", " << Print(op->true_value) << ", "
<< Print(op->false_value);
<< Print(op->false_value) << ")";
return doc;
}

Expand Down

0 comments on commit d5851dd

Please sign in to comment.