X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=forester%2Fjava%2Fsrc%2Forg%2Fforester%2Fsdi%2FGSDIR.java;h=651383d424183139b07d68dd4d4e5e3c9779be6e;hb=665e671efec73fcb36a9aac45f119330f290fa81;hp=52620a2f041430acc6f3101ac5ab5c5c8263dd73;hpb=25e80a3f3c5c5c957fbf8879fdeb3a022d98b057;p=jalview.git diff --git a/forester/java/src/org/forester/sdi/GSDIR.java b/forester/java/src/org/forester/sdi/GSDIR.java index 52620a2..651383d 100644 --- a/forester/java/src/org/forester/sdi/GSDIR.java +++ b/forester/java/src/org/forester/sdi/GSDIR.java @@ -73,7 +73,7 @@ public class GSDIR implements GSDII { } if ( gene_tree.getRoot().getNumberOfDescendants() == 2 ) { gene_tree_branches_post_order.add( new PhylogenyBranch( gene_tree.getRoot().getChildNode1(), gene_tree - .getRoot().getChildNode2() ) ); + .getRoot().getChildNode2() ) ); } int min_duplications_sum = Integer.MAX_VALUE; int speciations_sum = 0; @@ -188,7 +188,7 @@ public class GSDIR implements GSDII { /** * Places the root of this Phylogeny on Branch b. The new root is always * placed on the middle of the branch b. - * + * */ static final void reRoot( final PhylogenyBranch b, final Phylogeny phy ) { final PhylogenyNode n1 = b.getFirstNode(); @@ -208,7 +208,7 @@ public class GSDIR implements GSDII { // else if ( ( n1.getParent() != null ) && n1.getParent().isRoot() // && ( ( n1.getParent().getChildNode1() == n2 ) || ( n1.getParent().getChildNode2() == n2 ) ) ) { // phy.reRoot( n1 ); - // + // // } else { throw new IllegalArgumentException( "reRoot( Branch b ): b is not a branch." );