Skip to content

Commit

Permalink
fix typo in objective
Browse files Browse the repository at this point in the history
  • Loading branch information
RektPunk committed Sep 7, 2024
1 parent 68d09bc commit f302041
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mqboost/objective.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def __init__(
epsilon: float,
) -> None:
"""Initialize the MQObjective."""
if object == ObjectiveName.check:
if objective == ObjectiveName.check:
self._fobj = partial(check_loss_grad_hess, alphas=alphas)
elif objective == ObjectiveName.huber:
_delta = delta_validate(delta=delta)
Expand Down

0 comments on commit f302041

Please sign in to comment.