mirror of
https://github.com/opencv/opencv.git
synced 2024-11-29 13:47:32 +08:00
Double used as boolean for no reason
This commit is contained in:
parent
361eb633f6
commit
135701feac
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user