AlgoAnim: Matrixgenerator dimensions-bug behoben
This commit is contained in:
parent
9069273211
commit
60e5ceb376
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -196,7 +196,7 @@ public class MatrixGenerator implements Generator {
|
||||
|
||||
|
||||
//generate result matrix
|
||||
int[][] result = new int[matrixA.length][matrixA[0].length];
|
||||
int[][] result = new int[matrixB[0].length][matrixA.length];
|
||||
//fill result[][] with zeros
|
||||
for(int i = 0; i < result.length; i++){
|
||||
for(int j = 0; j < result[i].length; j++){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user