Skip to content

Commit

Permalink
fix bug for save binary for non-filename dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
guolinke authored Dec 31, 2016
1 parent e4dde71 commit 487bd83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/io/dataset.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ namespace LightGBM {
const char* Dataset::binary_file_token = "______LightGBM_Binary_File_Token______\n";

Dataset::Dataset() {
data_filename_ = "noname";
num_data_ = 0;
}

Expand Down

0 comments on commit 487bd83

Please sign in to comment.