Skip to content

Commit

Permalink
changed warning to a message
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Weine committed Jul 29, 2024
1 parent 7fcdb74 commit 00f5f75
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions R/fit.R
Original file line number Diff line number Diff line change
Expand Up @@ -339,9 +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.",
"This may be okay for downstream tasks like clustering."),
cat(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 00f5f75

Please sign in to comment.