mirror of
https://github.com/opencv/opencv.git
synced 2025-06-11 03:33:28 +08:00
fixer error with incorrect condition
This commit is contained in:
parent
ec461a2ff0
commit
6c4ad9b597
@ -2336,7 +2336,7 @@ void cv::ocl::pow(const oclMat &x, double p, oclMat &y)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
CV_Assert((x.type() == y.type() && x.size() == y.size() && x.depth() == CV_32F) || x.depth() == CV_64F);
|
CV_Assert(x.depth() == CV_32F || x.depth() == CV_64F);
|
||||||
y.create(x.size(), x.type());
|
y.create(x.size(), x.type());
|
||||||
string kernelName = "arithm_pow";
|
string kernelName = "arithm_pow";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user