Skip to content

Commit

Permalink
Fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
trivialfis committed Jun 27, 2024
1 parent a3f9d6c commit 1c80a25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data/sparse_page_dmatrix.cc
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ SparsePageDMatrix::~SparsePageDMatrix() {
}

void SparsePageDMatrix::InitializeSparsePage(Context const *ctx) {
auto id = MakeCache(this, ".row.page", on_host_, cache_prefix_, &cache_info_);
auto id = MakeCache(this, ".row.page", false, cache_prefix_, &cache_info_);
// Don't use proxy DMatrix once this is already initialized, this allows users to
// release the iterator and data.
if (cache_info_.at(id)->written) {
Expand Down

0 comments on commit 1c80a25

Please sign in to comment.