X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=forester%2Fjava%2Fsrc%2Forg%2Fforester%2Fpccx%2FModelingUtils.java;h=f8d40623985510638715105b138e36bbfe117a0d;hb=6035dd06c322b649ac5a0c4df39abbf4503d3ad1;hp=8d10e0157750a0397e5806ceda9a416a34b2e250;hpb=fffc26ac5f8cf4eaa5faea6a7e369b94d381d859;p=jalview.git diff --git a/forester/java/src/org/forester/pccx/ModelingUtils.java b/forester/java/src/org/forester/pccx/ModelingUtils.java index 8d10e01..f8d4062 100644 --- a/forester/java/src/org/forester/pccx/ModelingUtils.java +++ b/forester/java/src/org/forester/pccx/ModelingUtils.java @@ -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.pccx; @@ -39,7 +39,7 @@ import org.forester.phylogeny.iterators.PhylogenyNodeIterator; public final class ModelingUtils { static double calculateBranchLengthSum( final PhylogenyNode n1, final PhylogenyNode n2 ) { - final PhylogenyNode lca = PhylogenyMethods.obtainLCA( n1, n2 ); + final PhylogenyNode lca = PhylogenyMethods.calculateLCA( n1, n2 ); return ModelingUtils.calculateBranchLengthSumHelper( n1, lca ) + ModelingUtils.calculateBranchLengthSumHelper( n2, lca ); } @@ -57,7 +57,7 @@ public final class ModelingUtils { } static int calculateBranchSum( final PhylogenyNode n1, final PhylogenyNode n2 ) { - final PhylogenyNode lca = PhylogenyMethods.obtainLCA( n1, n2 ); + final PhylogenyNode lca = PhylogenyMethods.calculateLCA( n1, n2 ); return ModelingUtils.calculateBranchSumHelper( n1, lca ) + ModelingUtils.calculateBranchSumHelper( n2, lca ); }