mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
Clean up C API backport ready changes
This commit is contained in:
@@ -168,7 +168,7 @@ void Core_PowTest::run_func()
|
||||
b = b.reshape(1);
|
||||
for( int i = 0; i < a.rows; i++ )
|
||||
{
|
||||
b.at<float>(i,0) = (float)fabs(cvCbrt(a.at<float>(i,0)));
|
||||
b.at<float>(i,0) = (float)fabs(cubeRoot(a.at<float>(i,0)));
|
||||
for( int j = 1; j < a.cols; j++ )
|
||||
b.at<float>(i,j) = (float)fabs(cv::cubeRoot(a.at<float>(i,j)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user