remove unnecessary cast
authoratinfinity <dandelion1124@gmail.com>
Tue, 17 May 2016 23:32:29 +0000 (08:32 +0900)
committeratinfinity <dandelion1124@gmail.com>
Tue, 17 May 2016 23:32:29 +0000 (08:32 +0900)
modules/imgproc/src/thresh.cpp

index 92d6303..13f0fa2 100644 (file)
@@ -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);
         }
     }