From ad6c41267fe5e999e1f1a68fd4cb8b111c72f1a6 Mon Sep 17 00:00:00 2001 From: kevin Date: Sun, 15 Aug 2021 15:58:38 -0400 Subject: [PATCH] cwMtx.h: Fixed calc. of ele_count(). --- cwMtx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cwMtx.h b/cwMtx.h index 1513cd5..4121e13 100644 --- a/cwMtx.h +++ b/cwMtx.h @@ -705,7 +705,7 @@ namespace cw // Return the count of elements in the matrix template< typename T > unsigned ele_count( const struct mtx_str& x ) - { return vop::cumprod(x.dimV,x.dimN); } + { return vop::prod(x.dimV,x.dimN); } template< typename T >