Describe the bug
In itpp release 4.3.1 source file itpp\base\mat.cpp, lines 176-177 is:
it_assert_debug(m1.rows() == m2.cols(),
"Mat<>::operator*(): Wrong sizes");
whereas the block within HAVE_BLAS and for complex number matrices all have correct
it_assert_debug(m1.cols() == m2.rows(), "mat::operator*(): Wrong sizes");
This breaks correct matrix multiplication when compiled without blas and using double data type.
The git version at https://sourceforge.net/p/itpp/git/ci/master/tree/itpp/base/mat.cpp has this fixed.
Environment
- OS: Windows
- Compiler: 19.41.34123
To Reproduce
Steps to reproduce the behavior:
- ./vcpkg install itpp
- Write a simple rotation * vector transform
- See error
Expected behavior
Allows to multiply 3x3 matrix with 3x1 "vector"
Describe the bug
In itpp release 4.3.1 source file
itpp\base\mat.cpp, lines 176-177 is:whereas the block within
HAVE_BLASand for complex number matrices all have correctThis breaks correct matrix multiplication when compiled without blas and using
doubledata type.The git version at https://sourceforge.net/p/itpp/git/ci/master/tree/itpp/base/mat.cpp has this fixed.
Environment
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Allows to multiply 3x3 matrix with 3x1 "vector"