martinling / imusim

IMUSim - see http://www.imusim.org/
GNU General Public License v3.0
125 stars 72 forks source link

quaternions.pyx give compile error with Cython version 0.17.4 #1

Closed GregoryEAllen closed 11 years ago

GregoryEAllen commented 11 years ago

Error compiling Cython file:

... cpdef inline Quaternion log(Quaternion self):

^

imusim/maths/quaternions.pyx:293:10: Only final types can have final Python (def/cpdef) methods

Works fine with Cython version 0.14.1 [Note that my cython 0.17.4 is on MacOSX 10.8 with macports]

martinling commented 11 years ago

Fixed now on master - have just declared these methods with a normal def.