mirror of
https://github.com/opencv/opencv.git
synced 2024-11-29 13:47:32 +08:00
Merge pull request #9054 from zhmu:upstream
This commit is contained in:
commit
7621cc19dc
@ -403,7 +403,7 @@ public:
|
||||
Mat(tempCatMap).copyTo(catMap);
|
||||
}
|
||||
|
||||
if( varType.at<uchar>(ninputvars) == VAR_CATEGORICAL )
|
||||
if( noutputvars > 0 && varType.at<uchar>(ninputvars) == VAR_CATEGORICAL )
|
||||
{
|
||||
preprocessCategorical(responses, &normCatResponses, labels, &counters, sortbuf);
|
||||
Mat(labels).copyTo(classLabels);
|
||||
|
Loading…
Reference in New Issue
Block a user