python module pass basic test

This commit is contained in:
tqchen
2014-08-17 18:43:25 -07:00
parent af100dd869
commit 301685e0a4
7 changed files with 170 additions and 121 deletions

View File

@@ -58,7 +58,7 @@ struct MetaInfo {
return 0;
}
}
inline void SaveBinary(utils::IStream &fo) {
inline void SaveBinary(utils::IStream &fo) const {
fo.Write(&num_row, sizeof(num_row));
fo.Write(&num_col, sizeof(num_col));
fo.Write(labels);