Skip to content

Commit

Permalink
[python] remove unused variable (#3376)
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed Sep 11, 2020
1 parent 788f3a1 commit 0c708d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python-package/lightgbm/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -2906,7 +2906,7 @@ def refit(self, data, label, decay_rate=0.9, **kwargs):
new_booster.handle,
predictor.handle))
leaf_preds = leaf_preds.reshape(-1)
ptr_data, type_ptr_data, _ = c_int_array(leaf_preds)
ptr_data, _, _ = c_int_array(leaf_preds)
_safe_call(_LIB.LGBM_BoosterRefit(
new_booster.handle,
ptr_data,
Expand Down

0 comments on commit 0c708d3

Please sign in to comment.