Commit 160c964e authored by vbystricky's avatar vbystricky

Fix error

parent baa6ab19
......@@ -408,7 +408,7 @@ static bool IPPDerivScharr(InputArray _src, OutputArray _dst, int ddepth, int dx
static bool IPPDeriv(InputArray _src, OutputArray _dst, int ddepth, int dx, int dy, int ksize, double scale, double delta)
{
if (ksize != 3 || ksize != 5)
if (ksize != 3 && ksize != 5)
return false;
if (fabs(delta) > 0.0001)
return false;
......
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