diff --git a/pyproject.toml b/pyproject.toml index 1c5eb443..851bef49 100755 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "ssm-simulators" -version = "0.12.0b1" +version = "0.12.0b2" description = "SSMS is a package collecting simulators and training data generators for cognitive science, neuroscience, and approximate bayesian computation" authors = [ { name = "Alexander Fengler", email = "alexander_fengler@brown.edu" }, diff --git a/src/cssm/_utils.pxd b/src/cssm/_utils.pxd index cf07dba1..576be680 100644 --- a/src/cssm/_utils.pxd +++ b/src/cssm/_utils.pxd @@ -4,12 +4,12 @@ cimport numpy as np # Random number generation functions (updated to NumPy-based implementations) -cdef set_seed(random_state) -cdef float random_uniform() -cdef float random_exponential() -cdef float[:] draw_random_stable(int n, float alpha) -cdef float[:] draw_gaussian(int n) +cpdef void set_seed(random_state) +cpdef float random_uniform() +cpdef float random_exponential() +cpdef float[:] draw_random_stable(int n, float alpha) +cpdef float[:] draw_gaussian(int n) # Helper functions -cdef int sign(float x) -cdef float csum(float[:] x) +cpdef int sign(float x) +cpdef float csum(float[:] x)