From 5c60de1a0f91bcb33766154161d6ad0be8ac3533 Mon Sep 17 00:00:00 2001 From: Claus Nagel Date: Fri, 3 Jan 2025 14:21:46 +0100 Subject: [PATCH] minor change --- .../java/org/citydb/model/util/matrix/Matrix.java | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/citydb-model/src/main/java/org/citydb/model/util/matrix/Matrix.java b/citydb-model/src/main/java/org/citydb/model/util/matrix/Matrix.java index 9491407..4aa9a42 100644 --- a/citydb-model/src/main/java/org/citydb/model/util/matrix/Matrix.java +++ b/citydb-model/src/main/java/org/citydb/model/util/matrix/Matrix.java @@ -349,20 +349,6 @@ public Matrix copy() { return new Matrix(this); } - public boolean isEqual(Matrix matrix) { - if (matrix.rows == rows && matrix.columns == columns) { - for (int i = 0; i < rows; i++) { - if (!Arrays.equals(elements[i], matrix.elements[i])) { - return false; - } - } - - return true; - } else { - return false; - } - } - private void checkDimensions(Matrix matrix) { if (matrix.rows != rows || matrix.columns != columns) { throw new IllegalArgumentException("Matrix dimensions must agree.");