Skip to content

Commit

Permalink
Merge pull request #96 from Puriney/patch-1
Browse files Browse the repository at this point in the history
Update runCicero.R
  • Loading branch information
hpliner authored Sep 3, 2024
2 parents 10720b0 + 93474c1 commit 26b56ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/runCicero.R
Original file line number Diff line number Diff line change
Expand Up @@ -900,7 +900,7 @@ find_ccan_cutoff <- function(connection_df, tolerance_digits) {
connection_df <- connection_df[connection_df$coaccess > 0,]
tolerance <- 10^-(tolerance_digits)
bottom <- 0
top <- 1
top <- max(connection_df$coaccess)
while ((top - bottom) > tolerance) {
test_val <- bottom + round((top - bottom)/2, digits = tolerance_digits + 1)
ccan_num_test <- number_of_ccans(connection_df, test_val)
Expand Down

0 comments on commit 26b56ab

Please sign in to comment.