Skip to content

Commit

Permalink
Merge pull request #127 from PLN-team/Bastien-mva-patch-1
Browse files Browse the repository at this point in the history
comment the line with delta_x that is not defined.
  • Loading branch information
jchiquet authored Apr 11, 2024
2 parents 5855f55 + c54eddc commit 14d74c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/PLNfit-class.R
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 14d74c2

Please sign in to comment.