PyBayes icon indicating copy to clipboard operation
PyBayes copied to clipboard

fix a bug with numpy.shape() of the numpy v1.9

Open RTsien opened this issue 9 years ago • 2 comments

np.shape([1,2,3]) 

it returns (3L,)

RTsien avatar Dec 15 '14 14:12 RTsien

Hi, this breaks build with Cython and also totally breaks PyBayes with Python 2.x and Nupy different than 1.9. This must be solved differently.

strohel avatar Dec 15 '14 14:12 strohel

oh, sorry, i even hasnt considered cython.

I used the python ./setup.py --use-cython=no install, cause the pip install pybayes occured build error with cython.

RTsien avatar Dec 15 '14 17:12 RTsien