projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
361eb63
)
Double used as boolean for no reason
author
Dmitry-Me
<wipedout@yandex.ru>
Fri, 6 Mar 2015 14:04:54 +0000
(17:04 +0300)
committer
Dmitry-Me
<wipedout@yandex.ru>
Fri, 6 Mar 2015 14:04:54 +0000
(17:04 +0300)
modules/imgproc/src/imgwarp.cpp
patch
|
blob
|
history
diff --git
a/modules/imgproc/src/imgwarp.cpp
b/modules/imgproc/src/imgwarp.cpp
index
79ab3ec
..
8a11515
100644
(file)
--- a/
modules/imgproc/src/imgwarp.cpp
+++ b/
modules/imgproc/src/imgwarp.cpp
@@
-5454,7
+5454,7
@@
static bool ocl_warpTransform(InputArray _src, OutputArray _dst, InputArray _M0,
const ocl::Device & dev = ocl::Device::getDefault();
int type = _src.type(), depth = CV_MAT_DEPTH(type), cn = CV_MAT_CN(type);
-
double
doubleSupport = dev.doubleFPConfig() > 0;
+
const bool
doubleSupport = dev.doubleFPConfig() > 0;
int interpolation = flags & INTER_MAX;
if( interpolation == INTER_AREA )