Skip to content

Commit

Permalink
Fix map assign issue in CI test (apache#5854)
Browse files Browse the repository at this point in the history
  • Loading branch information
tqchen authored and zhiics committed Jul 2, 2020
1 parent dfecea4 commit 2684024
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tir/transforms/bf16_legalize.cc
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ class BF16LowerRewriter : StmtExprMutator {
}
}
if (buffer_remap.size() != 0) {
op->buffer_map.assign(changes.begin(), changes.end());
op->buffer_map = Map<Var, Buffer>(changes.begin(), changes.end());
}
}
};
Expand Down

0 comments on commit 2684024

Please sign in to comment.