Merge pull request #24608 from spacegaier:patch-1

Fix comment typo in matx.hpp
pull/24599/head
Alexander Smorkalov 1 year ago committed by GitHub
commit f7d69085af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      modules/core/include/opencv2/core/matx.hpp

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

Loading…
Cancel
Save