mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
Partially back-port #25075 to 4.x
This commit is contained in:
@@ -309,7 +309,7 @@ public:
|
||||
{
|
||||
CV_TRACE_FUNCTION();
|
||||
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