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

Commit

Permalink
Remove imports from sage.rings.all
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Dec 9, 2021
1 parent cfe563c commit 0a14b55
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/sage/categories/rings.py
Original file line number Diff line number Diff line change
Expand Up @@ -1135,7 +1135,8 @@ def normalize_arg(arg):
# how to pass in names?
names = tuple(_gen_names(elts))
if len(elts) == 1:
from sage.rings.all import CIF, CLF, RLF
from sage.rings.all import CIF
from sage.rings.real_lazy import CLF, RLF
elt = elts[0]
try:
iv = CIF(elt)
Expand Down
2 changes: 1 addition & 1 deletion src/sage/topology/simplicial_complex_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -1340,7 +1340,7 @@ def SumComplex(n, A):
sage: factor(26951480558170926865)
5 * 311 * 683 * 1117 * 11657 * 1948909
"""
from sage.rings.all import Integers
from sage.rings.finite_rings.integer_mod_ring import Integers
Zn = Integers(n)
A = frozenset([Zn(x) for x in A])
facets = []
Expand Down

0 comments on commit 0a14b55

Please sign in to comment.