Unverified Commit 520247cc authored by Guolin Ke's avatar Guolin Ke Committed by GitHub
Browse files

fix unsorted eval_at (#2206)

* fix unsorted eval_at

* Update config.cpp
parent b1e5a843
......@@ -170,6 +170,9 @@ void Config::Set(const std::unordered_map<std::string, std::string>& params) {
GetMembersFromString(params);
// sort eval_at
std::sort(eval_at.begin(), eval_at.end());
if (valid_data_initscores.size() == 0 && valid.size() > 0) {
valid_data_initscores = std::vector<std::string>(valid.size(), "");
}
......
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