From 7fcdb74c5b1bc3e3520bcd1f9c40cccb44153a95 Mon Sep 17 00:00:00 2001 From: Eric Weine Date: Wed, 24 Jul 2024 14:05:46 -0400 Subject: [PATCH] changed warning for convergence --- R/fit.R | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/R/fit.R b/R/fit.R index 5747945..dff614f 100644 --- a/R/fit.R +++ b/R/fit.R @@ -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.