mirror of
https://github.com/opencv/opencv.git
synced 2024-12-05 09:49:12 +08:00
odometry warnings fix
This commit is contained in:
parent
196e6aaa50
commit
5714868726
@ -219,7 +219,7 @@ template<typename TMat>
|
||||
void OdometryFrameImplTMat<TMat>::setPyramidAt(InputArray _img, OdometryFramePyramidType pyrType, size_t level)
|
||||
{
|
||||
CV_Assert(pyrType >= 0);
|
||||
CV_Assert(pyrType < pyramids.size());
|
||||
CV_Assert((size_t)pyrType < pyramids.size());
|
||||
CV_Assert(level < pyramids[pyrType].size());
|
||||
TMat img = getTMat<TMat>(_img);
|
||||
pyramids[pyrType][level] = img;
|
||||
|
Loading…
Reference in New Issue
Block a user