mirror of
https://github.com/opencv/opencv.git
synced 2025-06-17 15:20:51 +08:00
Merge pull request #24608 from spacegaier:patch-1
Fix comment typo in matx.hpp
This commit is contained in:
commit
f7d69085af
@ -765,7 +765,7 @@ inline Matx<_Tp, m, n>::operator Matx<T2, m, n>() const
|
|||||||
template<typename _Tp, int m, int n> template<int m1, int n1> inline
|
template<typename _Tp, int m, int n> template<int m1, int n1> inline
|
||||||
Matx<_Tp, m1, n1> Matx<_Tp, m, n>::reshape() const
|
Matx<_Tp, m1, n1> Matx<_Tp, m, n>::reshape() const
|
||||||
{
|
{
|
||||||
CV_StaticAssert(m1*n1 == m*n, "Input and destnarion matrices must have the same number of elements");
|
CV_StaticAssert(m1*n1 == m*n, "Input and destination matrices must have the same number of elements");
|
||||||
return (const Matx<_Tp, m1, n1>&)*this;
|
return (const Matx<_Tp, m1, n1>&)*this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user