Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
fix sanity
Browse files Browse the repository at this point in the history
  • Loading branch information
bgawrych committed Aug 10, 2020
1 parent 711b9f6 commit e11d1cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/cpp/storage/storage_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ TEST(Storage, CPU_MemAlign) {
auto&& storage = mxnet::Storage::Get();
mxnet::Context context_cpu = mxnet::Context::CPU(0);

for(int i=0; i < 5; ++i) {
for (int i = 0; i < 5; ++i) {
const size_t kSize = (std::rand() % 1024) + 1;
auto&& handle = storage->Alloc(kSize, context_cpu);
EXPECT_EQ(handle.ctx, context_cpu);
Expand Down

0 comments on commit e11d1cb

Please sign in to comment.