the fix of missing value assignment for name_ variable in EvalRankList method (#1558)

This commit is contained in:
phoenixbai 2016-09-26 21:57:17 +08:00 committed by Yuan (Terry) Tang
parent 693ddb860e
commit 915ac0b8fe

View File

@ -216,6 +216,7 @@ struct EvalRankList : public Metric {
minus_ = true;
}
} else {
name_ = name;
topn_ = std::numeric_limits<unsigned>::max();
}
}