multiply verändert

This commit is contained in:
MiraSchütz committed 2026-11-15 18:30:22 +01:00
1 parent d4e329e098
commit 205513f901
1 file changed
+1 -1
+1 -1
View File
@@ -103,7 +103,7 @@ Matrix add(const Matrix matrix1, const Matrix matrix2)
Matrix multiply(const Matrix matrix1, const Matrix matrix2) Matrix multiply(const Matrix matrix1, const Matrix matrix2)
{ {
if(matrix.cols !=matrix2.rows){ if(matrix1.cols !=matrix2.rows){
Matrix result; Matrix result;
result.rows = 0; result.rows = 0;
result.cols = 0; result.cols = 0;