Commit cb9dd71f authored by Anatoly Baksheev's avatar Anatoly Baksheev

compilation

parent de204fe4
...@@ -683,7 +683,7 @@ namespace cv { namespace gpu { namespace mathfunc ...@@ -683,7 +683,7 @@ namespace cv { namespace gpu { namespace mathfunc
__device__ __forceinline__ T operator()(const T& e) const __device__ __forceinline__ T operator()(const T& e) const
{ {
return saturate_cast<U>(__powf((float)e, power)); return saturate_cast<T>(__powf((float)e, power));
} }
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment