Skip to content

Commit d87ee7e

Browse files
committed
add initial values to fitlog
1 parent e10f965 commit d87ee7e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ext/MixedModelsPRIMAExt.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ function MixedModels.prfit!(m::LinearMixedModel;
3737
end
3838
end
3939
progress && ProgressMeter.next!(prog; showvalues=[(:objective, val)])
40-
!isone(iter) && iszero(rem(iter, thin)) && push!(fitlog, (copy(x), val))
40+
if isone(iter) || iszero(rem(iter, thin))
41+
push!(fitlog, (copy(x), val))
42+
end
4143
return val
4244
end
4345

0 commit comments

Comments
 (0)