mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 07:13:02 +04:00
Fixed several issues found by static analysis
This commit is contained in:
@@ -1442,6 +1442,7 @@ float DTreesImpl::predictTrees( const Range& range, const Mat& sample, int flags
|
||||
CV_Error( CV_StsBadArg,
|
||||
"one of input categorical variable is not an integer" );
|
||||
|
||||
CV_Assert(cmap != NULL);
|
||||
while( a < b )
|
||||
{
|
||||
c = (a + b) >> 1;
|
||||
|
||||
Reference in New Issue
Block a user