From 7bd9b2ac26acf549581742c8e0f73bd633292567 Mon Sep 17 00:00:00 2001 From: Alexander Karsakov Date: Fri, 25 Apr 2014 20:24:37 +0400 Subject: [PATCH] Added setIppErrorStatus() --- modules/imgproc/src/thresh.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/imgproc/src/thresh.cpp b/modules/imgproc/src/thresh.cpp index 2122a0f666..5a02452f1f 100644 --- a/modules/imgproc/src/thresh.cpp +++ b/modules/imgproc/src/thresh.cpp @@ -691,6 +691,7 @@ getThreshVal_Otsu_8u( const Mat& _src ) CV_SUPPRESS_DEPRECATED_END if (ok >= 0) return thresh; + setIppErrorStatus(); #endif const int N = 256;