#5409: [with patch; positive review, needs work] rewrite quaternion algebras --
the current implementation isn't sufficiently good
-------------------------+--------------------------------------------------
 Reporter:  was          |       Owner:  tbd     
     Type:  enhancement  |      Status:  new     
 Priority:  major        |   Milestone:  sage-3.4
Component:  algebra      |    Keywords:          
-------------------------+--------------------------------------------------
Changes (by mabshoff):

  * milestone:  sage-3.4.1 => sage-3.4


Comment:

 Ok, this fixes the first problem:
 {{{
 diff -r c0c80b6d1261 sage/algebras/quaternion_algebra_element.pyx
 --- a/sage/algebras/quaternion_algebra_element.pyx      Wed Mar 04
 11:54:38 2009 -0800
 +++ b/sage/algebras/quaternion_algebra_element.pyx      Tue Mar 10
 11:51:54 2009 -0700
 @@ -320,6 +320,7 @@
              sage: type(theta)
              <type
 
'sage.algebras.quaternion_algebra_element.QuaternionAlgebraElement_rational_field'>
              sage: 1/Q(0)
 +            Traceback (most recent call last):
              ...
              ZeroDivisionError: rational division by zero
 }}}

 Cheers,

 Michael

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5409#comment:14>
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to