Skip to content

Commit

Permalink
Merge pull request #373 from jhorzek/fix_scores
Browse files Browse the repository at this point in the history
Fix for missing scores in case of fiml.
  • Loading branch information
yrosseel authored Aug 1, 2024
2 parents 842f52b + 9afc450 commit 5c2065f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/ctr_estfun.R
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ lav_scores_ml <- function(ntab = 0L,
score.sigma <- matrix(0, nsub, nvar * (nvar + 1) / 2)
score.mu <- matrix(0, nsub, nvar)

for (p in seq_along(length(M))) {
for (p in seq_len(length(M))) {
## Data
# X <- M[[p]][["X"]]
case.idx <- Mp$case.idx[[p]]
Expand Down

0 comments on commit 5c2065f

Please sign in to comment.