Ulf Worsoe, 30.04.2014 12:45:
> I have encounterered a bug in the following situation with Cython 0.20.1:
>
> cdef funname():
> cdef numpy.ndarray[numpy.int32_t,ndim=1] myvar
> if True:
> ... block that never initializes myvar
> else
> ... block that initializes myvar
>
> The result
Hi,
I have encounterered a bug in the following situation with Cython 0.20.1:
cdef funname():
cdef numpy.ndarray[numpy.int32_t,ndim=1] myvar
if True:
... block that never initializes myvar
else
... block that initializes myvar
The resulting C code does not declare the variable for