Fix comment typo in matx.hpp

This commit is contained in:
Philip Allgaier 2023-11-28 08:26:40 +01:00 committed by GitHub
parent e9f35610a5
commit 9bb0a8d9e9
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;
}