aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--brill_data.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/brill_data.py b/brill_data.py
index 9bfe25d..cdb5ae5 100644
--- a/brill_data.py
+++ b/brill_data.py
@@ -47,7 +47,8 @@ class BrillData(object):
("nb_coeffs", ctypes.c_uint * 2),
("basis_scale_factor", ctypes.c_double * 2),
("psi_minus1_coeffs", ctypes.POINTER(ctypes.c_double)),
- ("stride", ctypes.c_long)]
+ ("stride", ctypes.c_uint),
+ ("nb_threads", ctypes.c_uint)]
def __init__(self, **kwargs):
self._libbd = ctypes.CDLL('libbrilldata.so')