Skip to content

Commit e7bef62

Browse files
authored
fix propogation of defaults in non-column table contructor (#398)
1 parent 31b1a8f commit e7bef62

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/generalizedlinearmixedmodel.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,9 +227,9 @@ GeneralizedLinearMixedModel(f::FormulaTerm, tbl,
227227
contrasts = Dict{Symbol,Any}()) =
228228
GeneralizedLinearMixedModel(f, Tables.columntable(tbl),
229229
d, l;
230-
wts = [],
231-
offset = [],
232-
contrasts = Dict{Symbol,Any}())
230+
wts = wts,
231+
offset = offset,
232+
contrasts = contrasts)
233233
GeneralizedLinearMixedModel(f::FormulaTerm, tbl::Tables.ColumnTable,
234234
d::Normal,
235235
l::IdentityLink;

0 commit comments

Comments
 (0)