cwMtx.h: Fixed calc. of ele_count().

This commit is contained in:
kevin 2021-08-15 15:58:38 -04:00
parent df975da715
commit ad6c41267f

View File

@ -705,7 +705,7 @@ namespace cw
// Return the count of elements in the matrix // Return the count of elements in the matrix
template< typename T > template< typename T >
unsigned ele_count( const struct mtx_str<T>& x ) unsigned ele_count( const struct mtx_str<T>& x )
{ return vop::cumprod(x.dimV,x.dimN); } { return vop::prod(x.dimV,x.dimN); }
template< typename T > template< typename T >