Skip to content

Commit a4f5d7a

Browse files
author
Alexey Stukalov
committed
fixup ws in FIML
1 parent 6a017f8 commit a4f5d7a

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/loss/ML/FIML.jl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,10 @@ end
107107
function SemFIML(; observed::SemObservedMissing, implied, specification, kwargs...)
108108

109109
if MeanStruct(implied) === NoMeanStruct
110-
throw(ArgumentError(
111-
"Full information maximum likelihood (FIML) can only be used with a meanstructure.
112-
Did you forget to set `Sem(..., meanstructure = true)`?"))
110+
ArgumentError(
111+
"Full information maximum likelihood (FIML) can only be used with a meanstructure.\n" *
112+
"Did you forget to set `Sem(..., meanstructure = true)`?",
113+
) |> throw
113114
end
114115

115116
return SemFIML(

0 commit comments

Comments
 (0)