From fc5f68fef713f4c9896a40c7692f299304a02ad7 Mon Sep 17 00:00:00 2001 From: beomki-yeo Date: Thu, 11 Apr 2024 17:20:47 +0200 Subject: [PATCH] Fix --- math/cmath/include/algebra/math/impl/cmath_operators.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/math/cmath/include/algebra/math/impl/cmath_operators.hpp b/math/cmath/include/algebra/math/impl/cmath_operators.hpp index 3553207d..3ae1f28c 100644 --- a/math/cmath/include/algebra/math/impl/cmath_operators.hpp +++ b/math/cmath/include/algebra/math/impl/cmath_operators.hpp @@ -205,8 +205,8 @@ ALGEBRA_HOST_DEVICE inline array_t, O> operator*( array_t, O> C; - for (size_type j = 0; j < M; ++j) { - for (size_type i = 0; i < O; ++i) { + for (size_type j = 0; j < O; ++j) { + for (size_type i = 0; i < M; ++i) { C[j][i] = 0.f; } }