File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ from memory_allocator cimport MemoryAllocator
31
31
from sage.libs.gmp.mpz cimport *
32
32
from sage.rings.integer_ring import ZZ
33
33
from sage.rings.integer cimport Integer
34
- from sage.rings.ring cimport Algebra
34
+ from sage.rings.ring cimport Ring
35
35
from sage.rings.polynomial.polynomial_integer_dense_flint cimport Polynomial_integer_dense_flint
36
36
from sage.rings.polynomial.polynomial_ring_constructor import PolynomialRing
37
37
@@ -436,7 +436,7 @@ def chromatic_polynomial_with_cache(G, cache=None):
436
436
...
437
437
TypeError: parameter cache must be a dictionary or None
438
438
"""
439
- cdef Algebra R = PolynomialRing(ZZ, " x" , implementation = " FLINT" )
439
+ cdef Ring R = PolynomialRing(ZZ, " x" , implementation = " FLINT" )
440
440
cdef Polynomial_integer_dense_flint one = R.one()
441
441
cdef Polynomial_integer_dense_flint zero = R.zero()
442
442
cdef Polynomial_integer_dense_flint x = R.gen()
You can’t perform that action at this time.
0 commit comments