Skip to content

Commit 2438269

Browse files
author
Dmitry Razdoburdin
committed
fix compilation error
1 parent e984e4e commit 2438269

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/cpp/plugin/test_sycl_hist_updater.cc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -564,9 +564,7 @@ void TestHistUpdaterExpandWithDepthWise(const xgboost::tree::TrainParam& param)
564564

565565
RegTree tree;
566566
FeatureInteractionConstraintHost int_constraints;
567-
ObjInfo task{ObjInfo::kRegression};
568-
std::unique_ptr<TreeUpdater> pruner{TreeUpdater::Create("prune", &ctx, &task)};
569-
TestHistUpdater<GradientSumT> updater(&ctx, qu, param, std::move(pruner), int_constraints, p_fmat.get());
567+
TestHistUpdater<GradientSumT> updater(&ctx, qu, param, int_constraints, p_fmat.get());
570568
updater.SetHistSynchronizer(new BatchHistSynchronizer<GradientSumT>());
571569
updater.SetHistRowsAdder(new BatchHistRowsAdder<GradientSumT>());
572570
auto* row_set_collection = updater.TestInitData(gmat, gpair, *p_fmat, tree);

0 commit comments

Comments
 (0)