Skip to content

Commit ed33367

Browse files
authored
Merge pull request #26 from stephenslab/eweine/change_warning
changed warning for convergence
2 parents 7086772 + e6547c8 commit ed33367

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/fit.R

+2-2
Original file line numberDiff line numberDiff line change
@@ -339,8 +339,8 @@ fit_glmpca_pois_main_loop <- function (LL, FF, Y, fixed_l, fixed_f,
339339
loglik_const = loglik_const,
340340
verbose = verbose)
341341
if (!res$convergence)
342-
warning(sprintf(paste("fit_glmpca_pois failed to meet convergence",
343-
"criterion within %d iterations"),
342+
message(sprintf(paste("Note that the specified convergence criteria was not",
343+
"met within %d iterations."),
344344
control$maxiter))
345345

346346
# Prepare the output.

0 commit comments

Comments
 (0)