Fix type conversion warning. (#7916)

This commit is contained in:
Jiaming Yuan 2022-05-18 20:14:14 +08:00 committed by GitHub
parent 765097d514
commit edf9a9608e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -101,7 +101,7 @@ class Driver {
private:
TrainParam param_;
std::size_t num_leaves_ = 1;
bst_node_t num_leaves_ = 1;
std::size_t max_node_batch_size_;
ExpandQueue queue_;
};