Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Graded ring with rational degrees

22 views
Skip to first unread message

Rosie Shen

unread,
Dec 7, 2024, 5:25:34 PM12/7/24
to Macaulay2
Hi,

I was trying to create a graded ring with degrees being rational numbers:

R = QQ[x, y, Degrees => {1, 1/2}]

but got the following error: expected a list, sequence, or string. 

The code R = QQ[x, y, Degrees => {1, 2}] runs perfectly fine. Is this because having rational degrees is not supported in M2?

Thanks!

- Rosie

Mahrud Sayrafi

unread,
Dec 7, 2024, 7:01:32 PM12/7/24
to maca...@googlegroups.com
That's right, the degrees must be integers, though the degree group may have torsion (e.g. ZZ/3).
The error is definitely misleading and should be fixed though.

Mahrud

--
You received this message because you are subscribed to the Google Groups "Macaulay2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to macaulay2+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/macaulay2/c4d05efe-ade7-4e0b-97e1-3bedf5c778dfn%40googlegroups.com.

Rosie Shen

unread,
Dec 9, 2024, 11:38:31 PM12/9/24
to Macaulay2
Okay, thanks!
Reply all
Reply to author
Forward
0 new messages