mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
Partially back-port #25075 to 4.x
This commit is contained in:
@@ -1191,7 +1191,7 @@ bool solve( InputArray _src, InputArray _src2arg, OutputArray _dst, int method )
|
||||
Mat dst = _dst.getMat();
|
||||
|
||||
if( m < n )
|
||||
CV_Error(CV_StsBadArg, "The function can not solve under-determined linear systems" );
|
||||
CV_Error(cv::Error::StsBadArg, "The function can not solve under-determined linear systems" );
|
||||
|
||||
if( m == n )
|
||||
is_normal = false;
|
||||
@@ -1515,7 +1515,7 @@ void SVD::backSubst( InputArray _w, InputArray _u, InputArray _vt,
|
||||
vt.ptr<double>(), vt.step, true, rhs.ptr<double>(), rhs.step, nb,
|
||||
dst.ptr<double>(), dst.step, buffer.data());
|
||||
else
|
||||
CV_Error( CV_StsUnsupportedFormat, "" );
|
||||
CV_Error( cv::Error::StsUnsupportedFormat, "" );
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user