Commit d57118ba authored by Tsukasa OMOTO's avatar Tsukasa OMOTO Committed by Guolin Ke
Browse files

Fix warning (#236)

parent c0f8e38d
......@@ -547,7 +547,7 @@ std::string GBDT::SaveModelToString(int num_iterations) const {
}
ss << std::endl << "feature information:" << std::endl;
for (size_t i = 0; i < max_feature_idx_ + 1; ++i) {
for (int i = 0; i < max_feature_idx_ + 1; ++i) {
ss << feature_names_[i] << "=" << feature_infos_[i] << std::endl;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment