Skip to content

Commit

Permalink
Fix vector reduce HTML (#7773)
Browse files Browse the repository at this point in the history
VectorReduce: Div cannot be in Span
  • Loading branch information
mcourteaux authored Aug 17, 2023
1 parent f2f2af2 commit 4e6fe00
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/StmtToViz.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2080,10 +2080,12 @@ class HTMLCodePrinter : public IRVisitor {
}

void visit(const VectorReduce *op) override {
print_opening_tag("div", "VectorReduce");
print_opening_tag("span", "VectorReduce");
print_text("(");
print_type(op->type);
print_text(")");
print_function_call("vector_reduce", {op->op, op->value});
print_closing_tag("div");
print_closing_tag("span");
print_ln();
}

Expand Down

0 comments on commit 4e6fe00

Please sign in to comment.