-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
When I make a numpy array of integers, I get a ValueError. It would be nice to be able to use integers as wavelengths. I don't speak Cython - is this an easy thing to implement?
Here is the call:
extinction.ccm89(np.array([2000]), 1, 3.1)
And the error:
ValueError Traceback (most recent call last)
in ()
----> 1 extinction.ccm89(np.array([2000]), 1, 3.1)
extinction.pyx in extinction.ccm89 (extinction.c:3133)()
ValueError: Buffer dtype mismatch, expected 'double' but got 'long'
Metadata
Metadata
Assignees
Labels
No labels