Quick fix for clang-tidy error. (#10641)
This commit is contained in:
parent
7720272870
commit
449be7a402
@ -145,9 +145,10 @@ class CommonRowPartitioner {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Making GHistIndexMatrix_t a templete parameter allows reuse this function for sycl-plugin */
|
/* Making GHistIndexMatrix_t a templete parameter allows reuse this function for sycl-plugin */
|
||||||
template <typename ExpandEntry, typename GHistIndexMatrix_t>
|
template <typename ExpandEntry, typename GHistIndexMatrixT>
|
||||||
static void FindSplitConditions(const std::vector<ExpandEntry>& nodes, const RegTree& tree,
|
static void FindSplitConditions(const std::vector<ExpandEntry>& nodes, const RegTree& tree,
|
||||||
const GHistIndexMatrix_t& gmat, std::vector<int32_t>* split_conditions) {
|
GHistIndexMatrixT const& gmat,
|
||||||
|
std::vector<int32_t>* split_conditions) {
|
||||||
auto const& ptrs = gmat.cut.Ptrs();
|
auto const& ptrs = gmat.cut.Ptrs();
|
||||||
auto const& vals = gmat.cut.Values();
|
auto const& vals = gmat.cut.Values();
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user