Commit 0e3bbd70 authored by Ievgen Khvedchenia's avatar Ievgen Khvedchenia

Fix "conditional expression constant" warning

parent a941d25f
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment