Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dramanica committed Dec 9, 2024
1 parent 891c595 commit a2c1302
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/gt_admix_methods.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ c.gt_admix <- function(...) {
combined_obj$P <- sapply(list(...), function(x) x$P)
}
# if we have a log_lik element in any of the objects, combine it
if (all(sapply(list(...), function(x) !is.null(x$log_lik)))) {
if (all(sapply(list(...), function(x) !is.null(x$loglik)))) {
combined_obj$loglik <- unlist(sapply(list(...), function(x) x$loglik))
}

Expand Down

0 comments on commit a2c1302

Please sign in to comment.