gsdi work
authorcmzmasek <cmzmasek@ca865154-3058-d1c3-3e42-d8f55a55bdbd>
Wed, 27 Jun 2012 08:36:22 +0000 (08:36 +0000)
committercmzmasek <cmzmasek@ca865154-3058-d1c3-3e42-d8f55a55bdbd>
Wed, 27 Jun 2012 08:36:22 +0000 (08:36 +0000)
forester/java/src/org/forester/sdi/GSDI.java

index 84d613f..a10a085 100644 (file)
@@ -164,7 +164,7 @@ public final class GSDI extends SDI {
     final void geneTreePostOrderTraversal() {
         for( final PhylogenyNodeIterator it = getGeneTree().iteratorPostorder(); it.hasNext(); ) {
             final PhylogenyNode g = it.next();
-            if ( !g.isExternal() ) {
+            if ( g.isInternal() ) {
                 PhylogenyNode s1 = g.getChildNode1().getLink();
                 PhylogenyNode s2 = g.getChildNode2().getLink();
                 while ( s1 != s2 ) {