Skip to content

Commit

Permalink
Don't use names
Browse files Browse the repository at this point in the history
  • Loading branch information
ms609 committed Sep 3, 2024
1 parent ffa85d0 commit 61b6c99
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/tree_distance_utilities.R
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,8 @@ CalculateTreeDistance <- function(Func, tree1, tree2 = NULL,
tipLabels, nTip = length(tipLabels), ...) {

if (is.na(nTip)) {
tipLabels <- union(unlist(tipLabels), unlist(TipLabels(splits2)))
tipLabels <- union(unlist(tipLabels, use.names = FALSE),
unlist(TipLabels(splits2), use.names = FALSE))
splits1 <- as.Splits(splits1, tipLabels = tipLabels, asSplits = TRUE)
splits2 <- as.Splits(splits2, tipLabels = tipLabels, asSplits = TRUE)
vapply(splits1, function(s1) {
Expand Down

0 comments on commit 61b6c99

Please sign in to comment.