From: kjvdheide Date: Sat, 28 Oct 2017 19:58:37 +0000 (+0100) Subject: JAL-2795 moved ForesterMatrix to ext.forester X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=648d3302321dc641c0dbef604e6e8a89101632cc;p=jalview.git JAL-2795 moved ForesterMatrix to ext.forester --- diff --git a/src/jalview/ext/archaeopteryx/ForesterMatrix.java b/src/jalview/ext/forester/ForesterMatrix.java similarity index 89% rename from src/jalview/ext/archaeopteryx/ForesterMatrix.java rename to src/jalview/ext/forester/ForesterMatrix.java index b7b3030..39106a7 100644 --- a/src/jalview/ext/archaeopteryx/ForesterMatrix.java +++ b/src/jalview/ext/forester/ForesterMatrix.java @@ -1,4 +1,4 @@ -package jalview.ext.archaeopteryx; +package jalview.ext.forester; import jalview.math.MatrixI; @@ -11,6 +11,10 @@ public class ForesterMatrix implements DistanceMatrix public ForesterMatrix(MatrixI jalviewInputMatrix) { this.jalviewMatrix = jalviewInputMatrix; + if (jalviewMatrix.width() != jalviewMatrix.height()) + { + + } } @@ -30,7 +34,7 @@ public class ForesterMatrix implements DistanceMatrix @Override public int getSize() { - return 0; + return jalviewMatrix.width(); } @Override