From 200dc2a3da6306edd676a78bb2c1ea0a82ac8540 Mon Sep 17 00:00:00 2001 From: fis Date: Mon, 5 Jul 2021 03:45:15 +0800 Subject: [PATCH] Tidy. --- src/data/sparse_page_dmatrix.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/sparse_page_dmatrix.cc b/src/data/sparse_page_dmatrix.cc index 0646bc9a9fbc..8decbe0be219 100644 --- a/src/data/sparse_page_dmatrix.cc +++ b/src/data/sparse_page_dmatrix.cc @@ -73,7 +73,7 @@ void SparsePageDMatrix::InitializeSparsePage() { DMatrixProxy *proxy = MakeProxy(proxy_); sparse_page_source_.reset(); // clear before creating new one to prevent conflicts. sparse_page_source_ = std::make_shared( - iter, proxy, this->missing_, this->nthreads_, this->Info().num_col_, + iter, proxy, this->missing_, this->nthreads_, this->info_.num_col_, this->n_batches_, cache_info_.at(id)); }