Skip to content

Commit

Permalink
fix compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
masahi committed Oct 6, 2022
1 parent ed1b4d6 commit bd0ea26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/meta_schedule/postproc/rewrite_layout.cc
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ Array<Buffer> CollectLayoutFreeBuffers(const PrimFuncNode* func) {

Array<Buffer> layout_free_buffers;
for (const Integer& index : layout_free_buffer_index) {
ICHECK(index->value < func->params.size());
ICHECK(static_cast<size_t>(index->value) < func->params.size());
const Var& param = func->params[index->value];
layout_free_buffers.push_back(func->buffer_map.at(param));
}
Expand Down

0 comments on commit bd0ea26

Please sign in to comment.