Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Problem with MemoryView of Fused Types if Array is specified as C-/F-Contiguous #1701
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
gkabbe commentedMay 9, 2017
I fail to compile the following code:
cdef cython.floating f1(cython.floating [:] vec): return vec[0] def test(cython.floating [:, ::1] vec): return f1(vec[0])It works if cython.floating is replaced by double (for example), and it works if one writes def test(cython.floating [:, :] vec), so I guess it should also work in the above example?