Ticket #9258: trac_9258.patch

File trac_9258.patch, 621 bytes (added by mhansen, 12 years ago)
  • sage/interfaces/axiom.py

    # HG changeset patch
    # User Mike Hansen <mhansen@gmail.com>
    # Date 1277669569 25200
    # Node ID 483bbdd0a26f53076d2bd18033f45315f9430383
    # Parent  5b3d8c8623f163b46b4b26e5943195f583c25b12
    #9258: problem with converting FriCAS domains to Sage objects
    
    diff --git a/sage/interfaces/axiom.py b/sage/interfaces/axiom.py
    a b  
    863863        P = self._check_valid()
    864864        type = str(self.type())
    865865       
    866         if type == "Domain":
     866        if type in ["Type", "Domain"]:
    867867            return self._sage_domain()
    868868       
    869869        if type == "Float":