Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
write workaround for #19231
Browse files Browse the repository at this point in the history
  • Loading branch information
dkrenn committed Sep 20, 2015
1 parent c8309c5 commit 4b8f9be
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/sage/symbolic/subring.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,9 +317,13 @@ def _coerce_map_from_(self, P):
True
sage: C.has_coerce_map_from(QQbar) # indirect doctest
True
sage: C.has_coerce_map_from(SR) # indirect doctest # not tested see #19231
sage: C.has_coerce_map_from(SR) # indirect doctest
False
"""
if P == SR:
# Workaround; can be deleted once #19231 is fixed
return False

from sage.rings.real_mpfr import mpfr_prec_min
from sage.rings.all import (ComplexField,
RLF, CLF, AA, QQbar, InfinityRing)
Expand Down

0 comments on commit 4b8f9be

Please sign in to comment.