]> git.donarmstrong.com Git - ape.git/blobdiff - R/dist.topo.R
a collection of bug fixes
[ape.git] / R / dist.topo.R
index 1248c4983d4ef8126d90bd11fd2aa84ee50dc19a..f82dd65193695e63301d706ac71bd63395212a5c 100644 (file)
@@ -11,7 +11,7 @@
 dist.topo <- function(x, y, method = "PH85")
 {
     if (method == "BHV01" && (is.null(x$edge.length) || is.null(y$edge.length)))
-      stop("trees must have branch lengths for Billera et al.'s distance.")
+        stop("trees must have branch lengths for Billera et al.'s distance.")
     n <- length(x$tip.label)
     bp1 <- .Call("bipartition", x$edge, n, x$Nnode, PACKAGE = "ape")
     bp1 <- lapply(bp1, function(xx) sort(x$tip.label[xx]))