From c54eddcff35d56ce66cd03b5d7a6a402a7ac6726 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastien=20Batardi=C3=A8re?= <71976811+Bastien-mva@users.noreply.github.com> Date: Thu, 11 Apr 2024 08:03:49 +0200 Subject: [PATCH] comment the line with delta_x that is not defined. --- R/PLNfit-class.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/PLNfit-class.R b/R/PLNfit-class.R index 44e071a4..af3a94e7 100644 --- a/R/PLNfit-class.R +++ b/R/PLNfit-class.R @@ -158,7 +158,7 @@ PLNfit <- R6Class( ## Check for convergence #print (delta_f) if (delta_f < config$ftol_rel) status <- 3 - if (delta_x < config$xtol_rel) status <- 4 + #if (delta_x < config$xtol_rel) status <- 4 if (status %in% c(3,4)) { objective <- objective[1:iterate + 1] break