Skip to content

Commit

Permalink
fixed typo in updateids
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderbates committed Aug 26, 2024
1 parent 884bccc commit 1cc378a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/ids.R
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ banc_updateids <- function(rootid, ...){
old <- !banc_islatest(rootid, ...)
old[is.na(old)] <- TRUE
#cat("latest/outdated: ",table(old))
updated <- banc_latestid(x[old], ...)
updated <- banc_latestid(rootid[old], ...)
rootid[old] <- updated
rootid
}
Expand Down

0 comments on commit 1cc378a

Please sign in to comment.