projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de204fe
)
compilation
author
Anatoly Baksheev
<no@email>
Fri, 22 Jul 2011 13:26:31 +0000
(13:26 +0000)
committer
Anatoly Baksheev
<no@email>
Fri, 22 Jul 2011 13:26:31 +0000
(13:26 +0000)
modules/gpu/src/cuda/element_operations.cu
patch
|
blob
|
history
diff --git
a/modules/gpu/src/cuda/element_operations.cu
b/modules/gpu/src/cuda/element_operations.cu
index
d7c7f5e
..
8434554
100644
(file)
--- a/
modules/gpu/src/cuda/element_operations.cu
+++ b/
modules/gpu/src/cuda/element_operations.cu
@@
-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