Skip to content

Commit

Permalink
Merge branch 'need-dist-attr'
Browse files Browse the repository at this point in the history
  • Loading branch information
jarioksa committed May 14, 2023
2 parents 1c724bf + 31b57c5 commit 3efccb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/isomapdist.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
diag(dist) <- NA
is.na(dist) <- apply(dist, 2, function(x)
x > x[order(x, na.last=TRUE)[k]])
dist <- pmax.int(as.dist(dist), as.dist(t(dist)), na.rm = TRUE)
dist <- pmax(as.dist(dist), as.dist(t(dist)), na.rm = TRUE)
}
fragm <- distconnected(dist, toolong=0, trace=FALSE)
take <- NULL
Expand Down

0 comments on commit 3efccb1

Please sign in to comment.