Skip to content

Commit

Permalink
flagOverlappingHz: handle an edge case
Browse files Browse the repository at this point in the history
  • Loading branch information
brownag committed Jan 31, 2024
1 parent 9bd9005 commit 30002b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/flagOverlappingHz.R
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ flagOverlappingHz <- function(x) {
## TODO: tests required
# index affected horizons
.m <- outer(.ot, .tops, '==')
idx <- as.vector(apply(.m, 1, which))
idx <- unlist(as.vector(apply(.m, 1, which)))

# generate flag vector along sequence of horizons
.res <- rep(FALSE, times = length(.tops))
Expand Down

0 comments on commit 30002b5

Please sign in to comment.