We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb9b1e7 commit afac0b4Copy full SHA for afac0b4
1 file changed
src/loss/WLS/WLS.jl
@@ -62,6 +62,7 @@ function SemWLS(
62
wls_weight_matrix::Union{AbstractMatrix, Nothing} = nothing,
63
wls_weight_matrix_mean::Union{AbstractMatrix, Nothing} = nothing,
64
approximate_hessian::Bool = false,
65
+ verbose::Bool = false,
66
kwargs...,
67
)
68
if observed isa SemObservedMissing
@@ -114,7 +115,8 @@ function SemWLS(
114
115
116
if MeanStruct(implied) == HasMeanStruct
117
if isnothing(wls_weight_matrix_mean)
- @info "Computing WLS weight matrix for the meanstructure using obs_cov()"
118
+ verbose &&
119
+ @info "Computing WLS weight matrix for the meanstructure using obs_cov()"
120
wls_weight_matrix_mean = inv(obs_cov(observed))
121
end
122
size(wls_weight_matrix_mean) == (nobs_vars, nobs_vars) || DimensionMismatch(
0 commit comments