Fix the bug of Mat_<>::opeartor []
authorhailong-wang <hailong.wang@svr.us>
Tue, 14 Mar 2017 05:02:59 +0000 (13:02 +0800)
committerGitHub <noreply@github.com>
Tue, 14 Mar 2017 05:02:59 +0000 (13:02 +0800)
commit207218e9208cebecfaaf7d9ed3bdd2dae338491a
tree2ae3304699fda17a2c26b5955e460a51c7439f63
parent502aa1f05335ddc4049fd80406a969bc4a857278
Fix the bug of Mat_<>::opeartor []

`template<typename _Tp> inline const _Tp* Mat_<_Tp>::operator [](int y) const` does not support 3d matrix since it checks rows.

This operator[] shall check size.p[0] instead.
modules/core/include/opencv2/core/mat.inl.hpp