fix compiler warning
This commit is contained in:
parent
29eec30183
commit
53def68946
|
@ -624,7 +624,7 @@ void splitKeyRangeForAppliers(Reference<ControllerBatchData> batchData,
|
|||
ASSERT(batchData->samplesSize >= 0);
|
||||
// Sanity check: samples should not be used after freed
|
||||
ASSERT((batchData->samplesSize > 0 && !batchData->samples.empty()) ||
|
||||
batchData->samplesSize == 0 && batchData->samples.empty());
|
||||
(batchData->samplesSize == 0 && batchData->samples.empty()));
|
||||
int numAppliers = appliersInterf.size();
|
||||
double slotSize = std::max(batchData->samplesSize / numAppliers, 1.0);
|
||||
double cumulativeSize = slotSize;
|
||||
|
|
Loading…
Reference in New Issue