mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-25 05:22:39 +08:00
Add automatic linter (#4214)
This commit is contained in:
@ -35,10 +35,8 @@ public class Fibonacci {
|
||||
for (int rowIndex = 0; rowIndex < rowsInMatrix1; rowIndex++) {
|
||||
for (int colIndex = 0; colIndex < columnsInMatrix2; colIndex++) {
|
||||
int matrixEntry = 0;
|
||||
for (int intermediateIndex = 0; intermediateIndex < columnsInMatrix1;
|
||||
intermediateIndex++) {
|
||||
matrixEntry += matrix1[rowIndex][intermediateIndex]
|
||||
* matrix2[intermediateIndex][colIndex];
|
||||
for (int intermediateIndex = 0; intermediateIndex < columnsInMatrix1; intermediateIndex++) {
|
||||
matrixEntry += matrix1[rowIndex][intermediateIndex] * matrix2[intermediateIndex][colIndex];
|
||||
}
|
||||
product[rowIndex][colIndex] = matrixEntry;
|
||||
}
|
||||
|
Reference in New Issue
Block a user