From 449be7a4027c62eecafa256dc418c1a1aa4a2768 Mon Sep 17 00:00:00 2001 From: Jiaming Yuan Date: Fri, 26 Jul 2024 18:21:16 +0800 Subject: [PATCH] Quick fix for clang-tidy error. (#10641) --- src/tree/common_row_partitioner.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/tree/common_row_partitioner.h b/src/tree/common_row_partitioner.h index 159be768c..1bf185341 100644 --- a/src/tree/common_row_partitioner.h +++ b/src/tree/common_row_partitioner.h @@ -145,9 +145,10 @@ class CommonRowPartitioner { } /* Making GHistIndexMatrix_t a templete parameter allows reuse this function for sycl-plugin */ - template + template static void FindSplitConditions(const std::vector& nodes, const RegTree& tree, - const GHistIndexMatrix_t& gmat, std::vector* split_conditions) { + GHistIndexMatrixT const& gmat, + std::vector* split_conditions) { auto const& ptrs = gmat.cut.Ptrs(); auto const& vals = gmat.cut.Values();