mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 14:36:36 +08:00
Merge pull request #8922 from tomoaki0705:fixWarningJetsonTK1
This commit is contained in:
commit
7580db09ad
@ -119,10 +119,9 @@ void absDiffScalar(const GpuMat& src, cv::Scalar val, bool, GpuMat& dst, const G
|
|||||||
};
|
};
|
||||||
|
|
||||||
const int sdepth = src.depth();
|
const int sdepth = src.depth();
|
||||||
const int ddepth = dst.depth();
|
|
||||||
const int cn = src.channels();
|
const int cn = src.channels();
|
||||||
|
|
||||||
CV_DbgAssert( sdepth <= CV_64F && ddepth <= CV_64F && cn <= 4 && src.type() == dst.type());
|
CV_DbgAssert( sdepth <= CV_64F && cn <= 4 && src.type() == dst.type());
|
||||||
|
|
||||||
const func_t func = funcs[sdepth][cn - 1];
|
const func_t func = funcs[sdepth][cn - 1];
|
||||||
if (!func)
|
if (!func)
|
||||||
|
Loading…
Reference in New Issue
Block a user