allow adapting wormhole

This commit is contained in:
tqchen
2015-03-27 17:33:51 -07:00
parent 16975b447c
commit be2ff703bc
6 changed files with 59 additions and 4 deletions

View File

@@ -56,7 +56,7 @@ struct SparseMat {
data.clear();
feat_dim = 0;
std::string line;
while (in->NextLine(&line)) {
while (in->ReadLine(&line)) {
float label;
std::istringstream ss(line);
ss >> label;