Mentions légales du service

Skip to content
Snippets Groups Projects
Commit a6971eed authored by hhakim's avatar hhakim
Browse files

Secure array format (col. major order) in FaustCore.pyx fact_palm4msa_gen.

parent aaec7a9b
Branches
Tags 2.5.60rc0
No related merge requests found
Pipeline #833937 skipped
...@@ -1091,6 +1091,8 @@ cdef class FaustFact: ...@@ -1091,6 +1091,8 @@ cdef class FaustFact:
# if not float nor complex, raise exception # if not float nor complex, raise exception
check_matrix(isReal, M) check_matrix(isReal, M)
M = np.asfortranarray(M)
cdef unsigned int M_num_rows=M.shape[0] cdef unsigned int M_num_rows=M.shape[0]
cdef unsigned int M_num_cols=M.shape[1] cdef unsigned int M_num_cols=M.shape[1]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment