Upgrade clang-tidy on CI. (#5469)
* Correct all clang-tidy errors. * Upgrade clang-tidy to 10 on CI. Co-authored-by: Hyunsu Cho <chohyu01@cs.washington.edu>
This commit is contained in:
@@ -33,7 +33,7 @@ TEST(Linear, Shotgun) {
|
||||
model.LazyInitModel();
|
||||
updater->Update(&gpair, p_fmat.get(), &model, gpair.Size());
|
||||
|
||||
ASSERT_EQ(model.bias()[0], 5.0f);
|
||||
ASSERT_EQ(model.Bias()[0], 5.0f);
|
||||
|
||||
}
|
||||
{
|
||||
@@ -68,7 +68,7 @@ TEST(Linear, coordinate) {
|
||||
model.LazyInitModel();
|
||||
updater->Update(&gpair, p_fmat.get(), &model, gpair.Size());
|
||||
|
||||
ASSERT_EQ(model.bias()[0], 5.0f);
|
||||
ASSERT_EQ(model.Bias()[0], 5.0f);
|
||||
}
|
||||
|
||||
TEST(Coordinate, JsonIO){
|
||||
|
||||
@@ -30,7 +30,7 @@ TEST(Linear, GPUCoordinate) {
|
||||
model.LazyInitModel();
|
||||
updater->Update(&gpair, mat.get(), &model, gpair.Size());
|
||||
|
||||
ASSERT_EQ(model.bias()[0], 5.0f);
|
||||
ASSERT_EQ(model.Bias()[0], 5.0f);
|
||||
}
|
||||
|
||||
TEST(GPUCoordinate, JsonIO) {
|
||||
|
||||
Reference in New Issue
Block a user