From 1f1464c925e774f89089f89f919680e2e1d6096c Mon Sep 17 00:00:00 2001 From: atinfinity Date: Wed, 18 May 2016 08:32:29 +0900 Subject: [PATCH] remove unnecessary cast --- modules/imgproc/src/thresh.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/imgproc/src/thresh.cpp b/modules/imgproc/src/thresh.cpp index 92d630348a..13f0fa284b 100644 --- a/modules/imgproc/src/thresh.cpp +++ b/modules/imgproc/src/thresh.cpp @@ -1210,7 +1210,7 @@ public: } else if( srcStripe.depth() == CV_64F ) { - thresh_64f(srcStripe, dstStripe, (double)thresh, (double)maxval, thresholdType); + thresh_64f(srcStripe, dstStripe, thresh, maxval, thresholdType); } }