#5962: Comparison in the Gap interface raises an error
------------------------+---------------------------------------------------
Reporter: SimonKing | Owner: was
Type: defect | Status: new
Priority: major | Milestone: sage-4.0
Component: interfaces | Keywords: gap comparison
------------------------+---------------------------------------------------
On sage.math with sage-3.4.1, one has
{{{
sage: gap('DihedralGroup(8)')==gap('DihedralGroup(8)')
---------------------------------------------------------------------------
RuntimeError Traceback (most recent call
last)
...
RuntimeError: Gap produced error output
Error, no 1st choice method found for `LT' on 2 arguments
executing $sage1 < $sage2;
}}}
The problem seems to be that Gap is unable to compare:
{{{
sage: gap('DihedralGroup(8)=DihedralGroup(8)')
false
}}}
Perhaps it would make sense to try and implement a {{{__cmp__}}} method
that is more sophisticated than what is done in Gap?
At least it should be made sure that the {{{__cmp__}}} method of the Gap
interface does not raise an error.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5962>
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
-~----------~----~----~----~------~----~------~--~---