fix build warnings (#2355)

* fix build warnings

* cython fixes

* cleanup transformations build

* little more
old-commit-hash: 96b637737bd42b334bffb188d278766bd0abe6c6
This commit is contained in:
Adeeb Shihadeh
2020-10-17 12:40:01 -07:00
committed by GitHub
parent dae628002f
commit f92c30b164
11 changed files with 29 additions and 44 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ cdef np.ndarray[double, ndim=2] matrix2numpy(Matrix3 m):
[m(2, 0), m(2, 1), m(2, 2)],
])
cdef Matrix3 numpy2matrix (np.ndarray[double, ndim=2, mode="fortran"] m):
cdef Matrix3 numpy2matrix(np.ndarray[double, ndim=2, mode="fortran"] m):
assert m.shape[0] == 3
assert m.shape[1] == 3
return Matrix3(<double*>m.data)