Skip to content

Commit

Permalink
Update src/linpred.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Milan Bouchet-Valat <[email protected]>
  • Loading branch information
gragusa and nalimilan authored Dec 18, 2024
1 parent cd39578 commit 574ec69
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/linpred.jl
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,6 @@ weights(obj::RegressionModel) = weights(obj.model)
weights(m::LinPredModel) = weights(m.rr)
weights(pp::LinPred) = pp.wts

isweighted(obj::RegressionModel) = isweighted(obj.model.pp)
isweighted(m::LinPredModel) = isweighted(m.pp)
isweighted(pp::LinPred) = weights(pp) isa Union{FrequencyWeights, AnalyticWeights, ProbabilityWeights}

Expand Down

0 comments on commit 574ec69

Please sign in to comment.