1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

ml: fix legacy import in DTreesImpl

This commit is contained in:
Alexander Alekhin
2021-04-12 19:05:52 +00:00
parent 63ba9970bd
commit b9b19185bc
2 changed files with 37 additions and 8 deletions
+1 -1
View File
@@ -490,7 +490,7 @@ public:
float predict( InputArray samples, OutputArray results, int flags ) const CV_OVERRIDE
{
CV_Assert( samples.cols() == getVarCount() && samples.type() == CV_32F );
CV_CheckEQ(samples.cols(), getVarCount(), "");
return impl.predict(samples, results, flags);
}