the fix of missing value assignment for name_ variable in EvalRankList method (#1558)
This commit is contained in:
parent
693ddb860e
commit
915ac0b8fe
@ -216,6 +216,7 @@ struct EvalRankList : public Metric {
|
|||||||
minus_ = true;
|
minus_ = true;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
name_ = name;
|
||||||
topn_ = std::numeric_limits<unsigned>::max();
|
topn_ = std::numeric_limits<unsigned>::max();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user