Skip to content

Commit

Permalink
Merge pull request #26 from stephenslab/eweine/change_warning
Browse files Browse the repository at this point in the history
changed warning for convergence
  • Loading branch information
eweine authored Aug 1, 2024
2 parents 7086772 + e6547c8 commit ed33367
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/fit.R
Original file line number Diff line number Diff line change
Expand Up @@ -339,8 +339,8 @@ fit_glmpca_pois_main_loop <- function (LL, FF, Y, fixed_l, fixed_f,
loglik_const = loglik_const,
verbose = verbose)
if (!res$convergence)
warning(sprintf(paste("fit_glmpca_pois failed to meet convergence",
"criterion within %d iterations"),
message(sprintf(paste("Note that the specified convergence criteria was not",
"met within %d iterations."),
control$maxiter))

# Prepare the output.
Expand Down

0 comments on commit ed33367

Please sign in to comment.