Skip to content

Commit

Permalink
changed warning for convergence
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Weine committed Jul 24, 2024
1 parent a7213b4 commit 7fcdb74
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/fit.R
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,8 @@ fit_glmpca_pois_main_loop <- function (LL, FF, Y, fixed_l, fixed_f,
verbose = verbose)
if (!res$convergence)
warning(sprintf(paste("fit_glmpca_pois failed to meet convergence",
"criterion within %d iterations"),
"criterion within %d iterations.",
"This may be okay for downstream tasks like clustering."),
control$maxiter))

# Prepare the output.
Expand Down

0 comments on commit 7fcdb74

Please sign in to comment.