I compiled a Cython script and run it. When running it I got an error from the following line of code:
cdef np.ndarray[float] vola = np.empty(n, dtype=float)
Why is that? I want to fill the array vola with float values later on, so I want to format it as float, not double.