forked from freudenreichan/info2Praktikum-NeuronalesNetz
multiply verändert
This commit is contained in:
1 parent
d4e329e098
commit
205513f901
1 file changed
+1
-1
+1
-1
@@ -103,7 +103,7 @@ Matrix add(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;
|
||||
result.rows = 0;
|
||||
result.cols = 0;
|
||||
|
||||
Reference in new issue
Block a user