Skip to content

Commit

Permalink
Remove print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
stefaneng committed Nov 13, 2024
1 parent df5970f commit 48cf1d8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions R/likelihood_funcs.R
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ calc_ell2 <- function(Y, abar, a2bar, fgbar, omega, omega_logdet, s_equal){
part_a <- sum(tcrossprod(R, omega) * R) #quad.tdiag(omega, R) %>% sum()
diagA <- colSums(crossprod(omega,fgbar) * fgbar)
part_b <- t(t(varabar)*diagA) %>% sum()
cat("log(det(omega))*n =", log(det(omega)) * n, "n = ", n, "\n")
print(omega_logdet)
ell <- -0.5*(part_a + part_b - omega_logdet)
}else{
part_a <- map_dbl(seq(n), function(i){
Expand Down

0 comments on commit 48cf1d8

Please sign in to comment.