Skip to content

Commit

Permalink
type in _fit_reg
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosdanieldasilva committed Sep 15, 2024
1 parent 240a85f commit e675fcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/linear-regression.jl
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function _fit_regression!(fitted_models::Vector{TableRegressionModel},
# Construct the formula
formula = FormulaTerm(y, x)
# Construct the ModelFrame
mf = ModelFrame(formula, null_schema, cols, LinearModel)
mf = ModelFrame(formula, null_schema, cols, type)
# Construct the ModelMatrix
mm = ModelMatrix(X, asgn(formula))
# Pass the fitted_model to TableRegressionModel structure
Expand Down

0 comments on commit e675fcb

Please sign in to comment.