removed duplication
This commit is contained in:
@@ -431,7 +431,7 @@ template<typename _Tp> inline _Tp* Mat::ptr(int y)
|
||||
|
||||
template<typename _Tp> inline const _Tp* Mat::ptr(int y) const
|
||||
{
|
||||
CV_DbgAssert( y == 0 || (data && dims >= 1 && data && (unsigned)y < (unsigned)size.p[0]) );
|
||||
CV_DbgAssert( y == 0 || (data && dims >= 1 && (unsigned)y < (unsigned)size.p[0]) );
|
||||
return (const _Tp*)(data + step.p[0]*y);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user