python-deltasigma icon indicating copy to clipboard operation
python-deltasigma copied to clipboard

Using deprecated NumPy API warnings

Open swirhun opened this issue 6 years ago • 1 comments

.../numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]

swirhun avatar Aug 03 '18 15:08 swirhun

Also, I think scipy may have changed and now "flbas" token here is not used. In other words, it used to be sp.linalg.blas.fblas.<...>, and taking out the ".fblas" part allowed my system (which is Debian based) to use the SciPy-BLAS backend when I look at deltasigma.simulation_backends

in file: _simulateDSM_scipy_blas.pyx

cdef dgemv_ptr dgemv=<dgemv_ptr>PyCObject_AsVoidPtr(
sp.linalg.blas.dgemv._cpointer) cdef dcopy_ptr dcopy=<dcopy_ptr>PyCObject_AsVoidPtr(
sp.linalg.blas.dcopy._cpointer)

swirhun avatar Aug 03 '18 17:08 swirhun