Skip to content

Commit 4018c21

Browse files
committed
[PML] fix bug in lavcache resulting in missing"doubly.robust" to fail (github issue 430)
1 parent 0e1b386 commit 4018c21

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: lavaan
22
Title: Latent Variable Analysis
3-
Version: 0.6-20.2327
3+
Version: 0.6-20.2328
44
Authors@R: c(person(given = "Yves", family = "Rosseel",
55
role = c("aut", "cre"),
66
email = "Yves.Rosseel@UGent.be",

R/lav_lavaan_step10_cache.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -317,10 +317,10 @@ lav_lavaan_step10_cache <- function(slotCache = NULL, # nolint
317317
each = dim.pairs
318318
))
319319

320-
lavcache[[g]]$idx.y1 <- idx.y1
321-
lavcache[[g]]$idx.gy2 <- idx.gy2
322-
lavcache[[g]]$idx.cat.y1 <- idx.cat.y1
323-
lavcache[[g]]$idx.cat.gy2 <- idx.cat.gy2
320+
lavcache[[g]]$idx.Y1 <- idx.y1
321+
lavcache[[g]]$idx.Gy2 <- idx.gy2
322+
lavcache[[g]]$idx.cat.Y1 <- idx.cat.y1
323+
lavcache[[g]]$idx.cat.Gy2 <- idx.cat.gy2
324324

325325
# the vector below keeps track of the variable each column
326326
# of the matrix univariateProbGivObs refers to

0 commit comments

Comments
 (0)