Skip to content

Commit

Permalink
comment the line with delta_x that is not defined.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bastien-mva authored Apr 11, 2024
1 parent 5855f55 commit c54eddc
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 c54eddc

Please sign in to comment.