Ticket #14485: trac_14485.patch

File trac_14485.patch, 673 bytes (added by nbruin, 9 years ago)

Don't pretend there is a coercion from the symbolic ring into QQbar

  • sage/rings/qqbar.py

    # HG changeset patch
    # User Nils Bruin <nbruin@sfu.ca>
    # Date 1366846123 25200
    # Node ID e1c0b828a2d1fa494e8c2fda4e39da3c8511885d
    # Parent  b4ebe3f89068a5ac488e75307fe40ecad7ce078b
    #14485: Don't pretend there is a coercion from the symbolic ring into QQbar
    
    diff --git a/sage/rings/qqbar.py b/sage/rings/qqbar.py
    a b class AlgebraicField(_uniq_alg, Algebrai 
    10751075        if from_par == AA or from_par == QQbar:
    10761076            return True
    10771077        _late_import()
    1078         if is_SymbolicExpressionRing(from_par):
    1079             return True
    10801078        return False
    10811079
    10821080    def completion(self, p, prec, extras = {}):