mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 03:30:34 +08:00
Fix "conditional expression constant" warning
This commit is contained in:
parent
a941d25f6d
commit
0e3bbd7026
@ -2145,7 +2145,7 @@ void generateDescriptorSubsample(cv::Mat& sampleList, cv::Mat& comparisons, int
|
||||
}
|
||||
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
|
||||
// the selection from the full matrix. We take as many samples per
|
||||
|
Loading…
Reference in New Issue
Block a user