diff --git a/R/compute.att_gt.R b/R/compute.att_gt.R index 425ee7b..9da7f66 100644 --- a/R/compute.att_gt.R +++ b/R/compute.att_gt.R @@ -202,7 +202,7 @@ compute.att_gt <- function(dp) { y = G, family = stats::binomial(), weights = w, - control = parglm::parglm.control(nthreads = getDTthreads()), + control = parglm::parglm.control(nthreads = data.table::getDTthreads()), intercept = FALSE )) class(preliminary_logit) <- "glm" #this allow us to use predict