X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=forester%2Fjava%2Fsrc%2Forg%2Fforester%2Ftools%2FTreeSplitMatrix.java;h=58d6eb66f692179b6329198d19beab47d9c6307f;hb=01d681ced8f186561a3dd76715d950bd0eabd82d;hp=d1e015bf33332c312732a39062e0a1ea08cfd730;hpb=48f7a89be9d34f1930a1f863e608235cc27184c5;p=jalview.git diff --git a/forester/java/src/org/forester/tools/TreeSplitMatrix.java b/forester/java/src/org/forester/tools/TreeSplitMatrix.java index d1e015b..58d6eb6 100644 --- a/forester/java/src/org/forester/tools/TreeSplitMatrix.java +++ b/forester/java/src/org/forester/tools/TreeSplitMatrix.java @@ -5,7 +5,7 @@ // Copyright (C) 2008-2009 Christian M. Zmasek // Copyright (C) 2008-2009 Burnham Institute for Medical Research // All rights reserved -// +// // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either @@ -15,13 +15,13 @@ // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU // Lesser General Public License for more details. -// +// // You should have received a copy of the GNU Lesser General Public // License along with this library; if not, write to the Free Software // 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; @@ -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 ) {