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)