We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 922af51 commit 77923f2Copy full SHA for 77923f2
src/common/quantile.h
@@ -843,7 +843,8 @@ class SketchContainerImpl {
843
dmlc::OMPException exc;
844
size_t ridx_block_size = batch.Size() / n_threads_ + (batch.Size() % n_threads_ > 0);
845
size_t min_ridx_block_size = 1024;
846
- if ((n_features < size_t(n_threads_)) && (ridx_block_size > min_ridx_block_size)) {
+ if ((n_features < static_cast<size_t>(n_threads_)) &&
847
+ (ridx_block_size > min_ridx_block_size)) {
848
/* Row-wise parallelisation.
849
*/
850
std::vector<std::set<float>> categories_buff(n_threads_ * n_features);
0 commit comments