Unverified Commit c9cddddf by mbaret Committed by GitHub

[BYOC][FIX] Fix typo in "default" (#5348)

Default annotations were incorrectly being named 'defualt'
which results in them not being removed in PartitionGraph.
parent 37bd8125
...@@ -63,7 +63,7 @@ class AnnotateTargetWrapper : public ExprMutator { ...@@ -63,7 +63,7 @@ class AnnotateTargetWrapper : public ExprMutator {
std::string ref_target = ""; std::string ref_target = "";
Array<Expr> compiler_ends; Array<Expr> compiler_ends;
for (auto arg : args) { for (auto arg : args) {
std::string arg_target = "defualt"; std::string arg_target = "default";
const CallNode* call = arg.as<CallNode>(); const CallNode* call = arg.as<CallNode>();
if (call && call->op == compiler_begin_op) { if (call && call->op == compiler_begin_op) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment