Updated by Andrey Kamaev about 13 years ago
There is an error in operations.hpp when compiling on Solaris with Sun Studio 12.
The implementation of @Matx::diag()@ Matx::diag() (line 366 in v2.2.0) is:
<pre><code class="cpp">
template<typename _tp, int m, int n> inline
Matx<_Tp,m,n> Matx<_Tp,m,n>::diag(const Matx<_Tp,MIN(m,n), 1>& d)
</code></pre>
and should be:
<pre><code class="cpp">
template<typename _tp, int m, int n> inline
Matx<_Tp,m,n> Matx<_Tp,m,n>::diag(typename const Matx<_Tp,m,n::diag_type>& Matx<_Tp,m,n::diag_type& d)
</code></pre>
The implementation of @Matx::diag()@ Matx::diag() (line 366 in v2.2.0) is:
<pre><code class="cpp">
template<typename _tp, int m, int n> inline
Matx<_Tp,m,n> Matx<_Tp,m,n>::diag(const Matx<_Tp,MIN(m,n), 1>& d)
</code></pre>
and should be:
<pre><code class="cpp">
template<typename _tp, int m, int n> inline
Matx<_Tp,m,n> Matx<_Tp,m,n>::diag(typename const Matx<_Tp,m,n::diag_type>& Matx<_Tp,m,n::diag_type& d)
</code></pre>