Fix rabit
This commit is contained in:
parent
c05c5bc7bc
commit
bec7332eea
@ -9,6 +9,7 @@ from .core import _LIB, c_str, STRING_TYPES
|
||||
|
||||
def _init_rabit():
|
||||
"""internal libary initializer."""
|
||||
if _LIB is not None:
|
||||
_LIB.RabitGetRank.restype = ctypes.c_int
|
||||
_LIB.RabitGetWorldSize.restype = ctypes.c_int
|
||||
_LIB.RabitVersionNumber.restype = ctypes.c_int
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user