Skip to content

Commit 811ae0f

Browse files
improve meanstructure error message
1 parent db4e86e commit 811ae0f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/implied/abstract.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function check_meanstructure_specification(meanstructure, ram_matrices)
4141
end
4242
if !meanstructure & !isnothing(ram_matrices.M)
4343
throw(ArgumentError(
44-
"If your model specification contains mean parameters, you have to set `meanstructure = true`."
44+
"If your model specification contains mean parameters, you have to set `Sem(..., meanstructure = true)`."
4545
))
4646
end
4747
end

0 commit comments

Comments
 (0)