mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 23:33:05 +04:00
Partially back-port #25075 to 4.x
This commit is contained in:
@@ -308,7 +308,7 @@ public:
|
||||
}
|
||||
}
|
||||
else
|
||||
CV_Error(CV_StsNotImplemented, "Unknown boosting type");
|
||||
CV_Error(cv::Error::StsNotImplemented, "Unknown boosting type");
|
||||
|
||||
/*if( bparams.boostType != Boost::LOGIT )
|
||||
{
|
||||
@@ -387,7 +387,7 @@ public:
|
||||
void write( FileStorage& fs ) const CV_OVERRIDE
|
||||
{
|
||||
if( roots.empty() )
|
||||
CV_Error( CV_StsBadArg, "RTrees have not been trained" );
|
||||
CV_Error( cv::Error::StsBadArg, "RTrees have not been trained" );
|
||||
|
||||
writeFormat(fs);
|
||||
writeParams(fs);
|
||||
|
||||
Reference in New Issue
Block a user