mathurinm opened this issue 3 years ago · 2 comments
the sol[2][-1] breaks.
stupid fix: initialise cdef int t=0 (otherwise t not initialized in cython because for t in range(max_iter)) , and cdef floating[:] gaps = np.array(min(1, max_iter)) Maybe there's something better to do.
cdef int t=0
cdef floating[:] gaps = np.array(min(1, max_iter)
fixed in #211