Skip to content

Commit 2623e3a

Browse files
authored
Merge pull request #153 from Sopel97/fix_sig_mismatch
Fix signature mismatch for `create_fen_batch_stream` and `create_spar…
2 parents a13b430 + 9c2ced7 commit 2623e3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nnue_dataset.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def get_fens(self):
7070

7171
create_fen_batch_stream = dll.create_fen_batch_stream
7272
create_fen_batch_stream.restype = ctypes.c_void_p
73-
create_fen_batch_stream.argtypes = [ctypes.c_int, ctypes.c_char_p, ctypes.c_int, ctypes.c_bool, ctypes.c_bool]
73+
create_fen_batch_stream.argtypes = [ctypes.c_int, ctypes.c_char_p, ctypes.c_int, ctypes.c_bool, ctypes.c_bool, ctypes.c_int]
7474
destroy_fen_batch_stream = dll.destroy_fen_batch_stream
7575
destroy_fen_batch_stream.argtypes = [ctypes.c_void_p]
7676

@@ -169,7 +169,7 @@ def __del__(self):
169169

170170
create_sparse_batch_stream = dll.create_sparse_batch_stream
171171
create_sparse_batch_stream.restype = ctypes.c_void_p
172-
create_sparse_batch_stream.argtypes = [ctypes.c_char_p, ctypes.c_int, ctypes.c_char_p, ctypes.c_int, ctypes.c_bool, ctypes.c_bool]
172+
create_sparse_batch_stream.argtypes = [ctypes.c_char_p, ctypes.c_int, ctypes.c_char_p, ctypes.c_int, ctypes.c_bool, ctypes.c_bool, ctypes.c_int]
173173
destroy_sparse_batch_stream = dll.destroy_sparse_batch_stream
174174
destroy_sparse_batch_stream.argtypes = [ctypes.c_void_p]
175175

0 commit comments

Comments
 (0)