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:
32394df
)
Fix error in code
author
vbystricky
<user@user-pc.(none)>
Tue, 15 Apr 2014 12:20:18 +0000
(16:20 +0400)
committer
vbystricky
<user@user-pc.(none)>
Fri, 18 Apr 2014 11:04:46 +0000
(15:04 +0400)
modules/imgproc/src/deriv.cpp
patch
|
blob
|
history
diff --git
a/modules/imgproc/src/deriv.cpp
b/modules/imgproc/src/deriv.cpp
index
40cba2d
..
9d9eb42
100644
(file)
--- a/
modules/imgproc/src/deriv.cpp
+++ b/
modules/imgproc/src/deriv.cpp
@@
-306,11
+306,11
@@
static bool IPPDerivScharr(InputArray _src, OutputArray _dst, int ddepth, int dx
#elif (IPP_VERSION_MAJOR >= 7)
static bool IPPDerivScharr(InputArray _src, OutputArray _dst, int ddepth, int dx, int dy, double scale, double delta, int borderType)
{
- if (BORDER_REPLICATE !=
IppiB
orderType)
+ if (BORDER_REPLICATE !=
b
orderType)
return false;
if ((0 > dx) || (0 > dy) || (1 != dx + dy))
return false;
- if (fabs(delta) >
0.0001
)
+ if (fabs(delta) >
FLT_EPSILON
)
return false;
Mat src = _src.getMat(), dst = _dst.getMat();