Skip to content

Commit

Permalink
[example] convert mnist name fix (crashes xcode compiler)
Browse files Browse the repository at this point in the history
  • Loading branch information
qipeng committed Sep 3, 2014
1 parent 0766cd9 commit b136da5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/mnist/convert_mnist_data.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ void convert_dataset(const char* image_filename, const char* label_filename,
std::ifstream image_file(image_filename, std::ios::in | std::ios::binary);
std::ifstream label_file(label_filename, std::ios::in | std::ios::binary);
CHECK(image_file) << "Unable to open file " << image_filename;
CHECK(label_file) << "Unable to open file " << label_file;
CHECK(label_file) << "Unable to open file " << label_filename;
// Read the magic and the meta data
uint32_t magic;
uint32_t num_items;
Expand Down

0 comments on commit b136da5

Please sign in to comment.