removed duplication

This commit is contained in:
Vladislav Vinogradov
2013-04-01 11:29:13 +04:00
parent 5a4fa4607b
commit ce2284e2e6
2 changed files with 2 additions and 2 deletions

View File

@@ -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);
}