mrkrd / cochlea

Inner ear models for Python
GNU General Public License v3.0
108 stars 42 forks source link

Fix a typecasting problem #3

Closed Jencke closed 8 years ago

Jencke commented 8 years ago

The number of zeros have to be typecasted to int. Just using ceil is not enough. (Numpy DeprecationWarning)

mrkrd commented 8 years ago

The number of zeros have to be typecasted to int. Just using ceil is not enough. (Numpy DeprecationWarning)

Thanks for pointing it out.

However, I used int instead of np.int_, because there are only Python-level functions and therefor no need for a low level C types.