Skip to content

Commit ab630e1

Browse files
Update fit.jl
1 parent adf16f2 commit ab630e1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/fit.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ function regife(
6767
Symbol(fesymbol(a)) factor_vars && error("FixedEffect should correspond to id or time dimension of the factor model")
6868
end
6969
end
70-
fes, ids, fekeys, formula = FixedEffectModels.parse_fixedeffect(df, formula)
70+
formula, formula_fes = FixedEffectModels.parse_fe(formula)
71+
fes, ids, fekeys = FixedEffectModels.parse_fixedeffect(df, formula_fes)
72+
7173
has_fes = !isempty(fes)
7274
has_fes_intercept = false
7375
## Compute factors, an array of AbtractFixedEffects

0 commit comments

Comments
 (0)