permissions = sandbox
[jalview.git] / forester / java / src / org / forester / tools / TreeSplitMatrix.java
index 29bd2dd..7b00eb2 100644 (file)
@@ -21,7 +21,7 @@
 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
 //
 // Contact: phylosoft @ gmail . com
-// WWW: www.phylosoft.org/forester
+// WWW: https://sites.google.com/site/cmzmasek/home/software/forester
 
 package org.forester.tools;
 
@@ -68,8 +68,8 @@ public class TreeSplitMatrix {
     /**
      * If strict is true, target nodes (all external nodes of the phylogeny for
      * which support values are to be calculated) is not used for anything during construction.
-     * 
-     * 
+     *
+     *
      * @param target
      * @param evaluator
      * @param strict
@@ -150,7 +150,7 @@ public class TreeSplitMatrix {
         if ( q_counts != counts ) {
             positive_matches = false;
         }
-        if ( q_counts != keySet().size() - counts ) {
+        if ( q_counts != ( keySet().size() - counts ) ) {
             negative_matches = false;
         }
         if ( !positive_matches && !negative_matches ) {