Skip to content

Commit b6225e4

Browse files
author
Alexey Stukalov
committed
SemObserved: fix mean_and_cov() call
it requires that data is Matrix
1 parent a4d7e01 commit b6225e4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/observed/data.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function SemObservedData(;
4040
)
4141
data, obs_vars, _ =
4242
prepare_data(data, observed_vars, specification; observed_var_prefix)
43-
obs_mean, obs_cov = mean_and_cov(data, 1)
43+
obs_mean, obs_cov = mean_and_cov(convert(Matrix, data), 1)
4444

4545
if any(ismissing, data)
4646
"""

0 commit comments

Comments
 (0)