Skip to content

Commit

Permalink
Fix little bug
Browse files Browse the repository at this point in the history
  • Loading branch information
lerenhua committed Jul 31, 2023
1 parent 422dd72 commit 260bd9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/kernels/kernel_test.h
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ class KernelTest {
if (shape.size() == 1 && (shape[0] == initvalue.size())) {
// One dim array attribute
T *tmp = new T[shape[0]];
for (size_t i = 0; i < (size_t)shape[0]; ++i) {
for (size_t i = 0; i < shape[0]; ++i) {
tmp[i] = initvalue[i];
}
return tmp;
Expand Down

0 comments on commit 260bd9d

Please sign in to comment.