Skip to content

Commit

Permalink
Remove <<- for the upper tryCatch block
Browse files Browse the repository at this point in the history
  • Loading branch information
SeewooLi committed May 29, 2024
1 parent 404f287 commit 54fbb23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/non_exporting_functions.R
Original file line number Diff line number Diff line change
Expand Up @@ -984,8 +984,8 @@ WLE_theta <- function(item, data, type){
thres <- abs(diff)
}
}
mle <<- append(mle, th)
se <<- append(se, sqrt(-1/l1l2[2]))
mle <- append(mle, th)
se <- append(se, sqrt(-1/l1l2[2]))
}, error = function(e){
message("\n","WLE failed to converge for the entry ", i,"\n",sep="",appendLF=FALSE)

Expand Down

0 comments on commit 54fbb23

Please sign in to comment.