Hi,

if I run the code
from sympy import *

v = [1,0,0]
angle = 3*pi/2
q = Quaternion.from_axis_angle(v,angle)
m = q.to_rotation_matrix()
print (m.det())

in a debian 10 with version 1.3-2 of python3-sympy,
I get -1 as a result. But this is not correct, beacause the determinant
of a rotation is 1.

With sympy version 1.5.1-2.1 of ubuntu-20.04, I get the correct result.

I think this is a bug in debian 10 python3-symp and python-sympy 1.3-2

Best regards,
Rafel Amer
Technic University of Catalonia



  


-- 
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to