Properly initialize sortedNum in find zone.

This commit is contained in:
Bartosz Taudul 2018-09-03 20:21:28 +02:00
parent a02121d78a
commit e8b4f71f4a

View File

@ -293,7 +293,7 @@ private:
int64_t numBins = -1;
std::unique_ptr<int64_t[]> bins, binTime, selBin;
std::vector<int64_t> sorted, selSort;
size_t sortedNum, selSortNum, selSortActive;
size_t sortedNum = 0, selSortNum, selSortActive;
float average, selAverage;
float median, selMedian;
int64_t total, selTotal;