1
0
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:
Suleyman TURKMEN
2021-01-01 21:25:43 +03:00
parent c073e09956
commit 178240ccf1
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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)));
}