Skip to content

Commit c3bc8fc

Browse files
committed
Verbose printing cleanup
1 parent b80daf6 commit c3bc8fc

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/PIRLS.jl

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,11 @@ function pirls!(m::GeneralizedLinearMixedModel{T}, varyβ=false, verbose=false)
184184
varyβ && copyto!(β₀, β)
185185
obj₀ = deviance!(m) * 1.0001
186186
if verbose
187-
print("varyβ = $varyβ, obj₀ = obj₀, β =")
188-
show(β)
187+
print("varyβ = ", varyβ, ", obj₀ = ", obj₀)
188+
if varyβ
189+
print(", β =")
190+
show(β)
191+
end
189192
println()
190193
end
191194

0 commit comments

Comments
 (0)