diff --git a/include/omath/linear_algebra/mat.hpp b/include/omath/linear_algebra/mat.hpp index 096345c..99f8775 100644 --- a/include/omath/linear_algebra/mat.hpp +++ b/include/omath/linear_algebra/mat.hpp @@ -155,8 +155,6 @@ namespace omath constexpr Mat operator*(const Mat& other) const { - Mat result; - if constexpr (StoreType == MatStoreType::ROW_MAJOR) return cache_friendly_multiply_row_major(other); if constexpr (StoreType == MatStoreType::COLUMN_MAJOR)