compilation
authorAnatoly Baksheev <no@email>
Fri, 22 Jul 2011 13:26:31 +0000 (13:26 +0000)
committerAnatoly Baksheev <no@email>
Fri, 22 Jul 2011 13:26:31 +0000 (13:26 +0000)
modules/gpu/src/cuda/element_operations.cu

index d7c7f5e..8434554 100644 (file)
@@ -683,7 +683,7 @@ namespace cv { namespace gpu { namespace mathfunc
             \r
         __device__ __forceinline__ T operator()(const T& e) const\r
         {      \r
-            return saturate_cast<U>(__powf((float)e, power));\r
+            return saturate_cast<T>(__powf((float)e, power));\r
         }      \r
     };\r
 \r