Fix error in ipp function call
authorvbystricky <user@user-pc.(none)>
Tue, 22 Apr 2014 10:35:27 +0000 (14:35 +0400)
committervbystricky <user@user-pc.(none)>
Tue, 22 Apr 2014 10:35:27 +0000 (14:35 +0400)
modules/core/src/stat.cpp

index e5f10bf..b03fe73 100644 (file)
@@ -2442,7 +2442,7 @@ double cv::norm( InputArray _src1, InputArray _src2, int normType, InputArray _m
             }
             else
             {
-                typedef IppStatus (CV_STDCALL* ippiNormRelFunc)(const void *, int, const void *, int, IppiSize, Ipp64f *, IppHintAlgorithm hint);
+                typedef IppStatus (CV_STDCALL* ippiNormRelFunc)(const void *, int, const void *, int, IppiSize, Ipp64f *);
                 ippiNormRelFunc ippFunc =
                     normType == NORM_INF ?
                     (type == CV_8UC1 ? (ippiNormRelFunc)ippiNormRel_Inf_8u_C1R :
@@ -2465,7 +2465,7 @@ double cv::norm( InputArray _src1, InputArray _src2, int normType, InputArray _m
                 if( ippFunc )
                 {
                     Ipp64f norm;
-                    if( ippFunc(src1.data, (int)src1.step[0], src2.data, (int)src2.step[0], sz, &norm, ippAlgHintAccurate) >= 0 )
+                    if( ippFunc(src1.data, (int)src1.step[0], src2.data, (int)src2.step[0], sz, &norm) >= 0 )
                         return (double)norm;
                     setIppErrorStatus();
                 }