Fix "conditional expression constant" warning

This commit is contained in:
Ievgen Khvedchenia 2014-04-28 19:32:04 +03:00
parent a941d25f6d
commit 0e3bbd7026

View File

@ -2145,7 +2145,7 @@ void generateDescriptorSubsample(cv::Mat& sampleList, cv::Mat& comparisons, int
} }
ssz *= nchannels; ssz *= nchannels;
CV_Assert((nbits <= ssz) && "descriptor size can't be bigger than full descriptor"); CV_Assert(nbits <= ssz); // Descriptor size can't be bigger than full descriptor
// Since the full descriptor is usually under 10k elements, we pick // Since the full descriptor is usually under 10k elements, we pick
// the selection from the full matrix. We take as many samples per // the selection from the full matrix. We take as many samples per