Skip to content

Commit

Permalink
Update python-package/lightgbm/basic.py
Browse files Browse the repository at this point in the history
Co-authored-by: José Morales <[email protected]>
  • Loading branch information
jameslamb and jmoralez authored Jul 12, 2023
1 parent 3ea7426 commit 451bec3
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 @@ -967,7 +967,7 @@ def predict(
_safe_call(_LIB.LGBM_BoosterPredictForFile(
self._handle,
_c_str(str(data)),
ctypes.c_int(int(data_has_header)),
ctypes.c_int(data_has_header),
ctypes.c_int(predict_type),
ctypes.c_int(start_iteration),
ctypes.c_int(num_iteration),
Expand Down

0 comments on commit 451bec3

Please sign in to comment.