Merge pull request #24608 from spacegaier:patch-1

Fix comment typo in matx.hpp
This commit is contained in:
Alexander Smorkalov 2023-11-28 13:41:53 +03:00 committed by GitHub
commit f7d69085af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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