Macaulay2 / M2

The primary source code repository for Macaulay2, a system for computing in commutative algebra, algebraic geometry and related fields.
https://macaulay2.com
345 stars 230 forks source link

degrees ring not being cached appropriately #2232

Open mikestillman opened 3 years ago

mikestillman commented 3 years ago

The following assertion fails. These should be the same rings.

R = ZZ/101[a]
degreesRing R
degreesRing 1
assert(degreesRing R === degreesRing 1) -- fails
DanGrayson commented 3 years ago

Yes, they should be the same.