Skip to content

Commit d633a3e

Browse files
committed
Updated files
1 parent ca40a2b commit d633a3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/thealgorithms/matrix/MatrixMultiplication.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public static double[][] multiply(double[][] matrixA, double[][] matrixB) {
2121
// Check for empty matrices
2222
if (matrixA.length == 0 || matrixB.length == 0 || matrixA[0].length == 0 || matrixB[0].length == 0) {
2323
throw new IllegalArgumentException("Input matrices must not be empty");
24-
}
24+
}
2525

2626
// Validate the matrix dimensions
2727
if (matrixA[0].length != matrixB.length) {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy