Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Feb 6, 2025
1 parent 2eb47d5 commit 267f5dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/get_datagrid.R
Original file line number Diff line number Diff line change
Expand Up @@ -585,9 +585,9 @@ get_datagrid.default <- function(x,
if (!inherits(x, "brmsfit") && !is.null(w)) {
# for lme, can't be NA
if (inherits(x, c("lme", "gls"))) {
vm[[w]] <- 1
vm[w] <- 1
} else {
vm[[w]] <- NA_real_
vm[w] <- NA_real_
}
}

Expand Down

0 comments on commit 267f5dc

Please sign in to comment.