Skip to content

Commit

Permalink
test if tests work now again
Browse files Browse the repository at this point in the history
  • Loading branch information
KlausVigo committed Jan 15, 2024
1 parent 8d32c6c commit 927a461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/phylo.R
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ optimGamma <- function(tree, data, shape = 1, k = 4, ...) {
fn <- function(shape, tree, data, k, ...) pml.fit(tree, data, shape = shape,
k = k, ...)
res <- optimize(f = fn, interval = c(0.1, 100), lower = 0.1, upper = 100,
maximum = TRUE, tol = .01, tree = tree, data = data, k = k, ...)
maximum = TRUE, tol = .001, tree = tree, data = data, k = k, ...)
res
}

Expand Down

0 comments on commit 927a461

Please sign in to comment.