Reduced some C++ compiler warnings (#6197)
* Removed some warnings * Rebase with master * Solved C++ Google Tests errors made by refactoring in order to remove warnings * Undo renaming path -> path_ * Fix style check Co-authored-by: Hyunsu Cho <chohyu01@cs.washington.edu>
This commit is contained in:
@@ -40,7 +40,7 @@ class QuantileHistMock : public QuantileHistMaker {
|
||||
DMatrix* p_fmat,
|
||||
const RegTree& tree) {
|
||||
RealImpl::InitData(gmat, gpair, *p_fmat, tree);
|
||||
ASSERT_EQ(this->data_layout_, RealImpl::kSparseData);
|
||||
ASSERT_EQ(this->data_layout_, RealImpl::DataLayout::kSparseData);
|
||||
|
||||
/* The creation of HistCutMatrix and GHistIndexMatrix are not technically
|
||||
* part of QuantileHist updater logic, but we include it here because
|
||||
|
||||
Reference in New Issue
Block a user