#5114: something wrong in the initializer for elements of QuaternionAlgebra
---------------------+------------------------------------------------------
Reporter: cwitty | Owner: tbd
Type: defect | Status: new
Priority: major | Milestone: sage-3.3
Component: algebra | Keywords:
---------------------+------------------------------------------------------
Consider:
{{{
sage: QA = QuaternionAlgebra(QQ, -1, -1)
sage: foo = QA(3.0); foo
3.00000000000000
sage: parent(foo)
Quaternion algebra with generators (i, j, k) over Rational Field
sage: parent(foo.vector()[0])
Real Field with 53 bits of precision
}}}
I don't think the initializer should let you construct an element with RR
members but still claim to be over QQ.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5114>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---