Skip to content
Snippets Groups Projects
Commit 8bf6b8ca authored by maikov's avatar maikov
Browse files

Fix clone implementation.

parent 92ab8a06
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ public class Matrix {
this.rows = rows;
this.cols = columns;
this.elements = elements;
this.elements = Arrays.copyOf(elements, elements.length);
}
protected int getIndex(int row, int col) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment