Get rid of a few trivial compiler warnings. (#4312)
This commit is contained in:
committed by
Jiaming Yuan
parent
ad4de0d718
commit
680a1b36f3
@@ -624,7 +624,7 @@ XGB_DLL int XGDMatrixCreateFromDT(void** data, const char** feature_stypes,
|
||||
#pragma omp parallel num_threads(nthread)
|
||||
{
|
||||
// Count elements per row, column by column
|
||||
for (auto j = 0; j < ncol; ++j) {
|
||||
for (auto j = 0u; j < ncol; ++j) {
|
||||
DTType dtype = DTGetType(feature_stypes[j]);
|
||||
#pragma omp for schedule(static)
|
||||
for (omp_ulong i = 0; i < nrow; ++i) {
|
||||
|
||||
Reference in New Issue
Block a user