#11613: RealInterval expression comparisons broken
---------------------------+------------------------------------------------
   Reporter:  eviatarbach  |          Owner:  burcin    
       Type:  defect       |         Status:  new       
   Priority:  major        |      Milestone:  sage-4.7.2
  Component:  symbolics    |       Keywords:            
Work_issues:               |       Upstream:  N/A       
   Reviewer:               |         Author:            
     Merged:               |   Dependencies:            
---------------------------+------------------------------------------------

Old description:

> RealIntervalField (RIF) comparisons are broken. For example,
>
> {{{
> sage: RealInterval(4,5)==RealInterval(4,5)
> False
> sage: RIF(4,5)==RIF(4,5)
> False
> }}}
>
> A possibly related bug:
>
> {{{
> sage: bool(RealInterval(4,5)*x==RealInterval(4,5)*x)
> ERROR: An unexpected error occurred while tokenizing input
> The following traceback may be corrupted or invalid
> The error message is: ('EOF in multi-line statement', (1006, 0))
> TypeError:
> }}}

New description:

 Expressions involving RealIntervals do not compare properly, returning a
 TypeError. For example,

 {{{
 sage: bool(RealInterval(4,5)*x==RealInterval(4,5)*x)
 ERROR: An unexpected error occurred while tokenizing input
 The following traceback may be corrupted or invalid
 The error message is: ('EOF in multi-line statement', (1006, 0))
 TypeError:
 }}}

--

Comment(by eviatarbach):

 Oh, I see. The second bug is still valid though, so I will edit the ticket
 to reflect this.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11613#comment:2>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
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