Unverified Commit 0c708d37 authored by James Lamb's avatar James Lamb Committed by GitHub
Browse files

[python] remove unused variable (#3376)

parent 788f3a1a
...@@ -2906,7 +2906,7 @@ class Booster(object): ...@@ -2906,7 +2906,7 @@ class Booster(object):
new_booster.handle, new_booster.handle,
predictor.handle)) predictor.handle))
leaf_preds = leaf_preds.reshape(-1) 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( _safe_call(_LIB.LGBM_BoosterRefit(
new_booster.handle, new_booster.handle,
ptr_data, ptr_data,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment