fixing ambiguous references

13 views
Skip to first unread message

Federico Galetto

unread,
Sep 26, 2025, 12:07:06 PMSep 26
to Macaulay2
Hello. When installing the InvariantRing package with Macaulay2 1.25.06, I get a number of warnings such as the following one:

-- warning: ambiguous reference "InvariantRing :: generators(...,CoefficientRing=>...)" and "Macaulay2Doc :: generators(Ring)" when processsing InvariantRing/FiniteGroupsDoc.m2:104:0

This is likely caused by our function:

generators FiniteGroupAction := opts -> G -> G.generators

which is documented in InvariantRing/FiniteGroupsDoc.m2 as follows:

document {
Key => {(generators, FiniteGroupAction)},
Headline => "generators of a finite group",
Usage => "generators G",
Inputs => {
    "G" => FiniteGroupAction =>
{"the action of a finite group"},
},
Outputs => {
List => {"a list of generators of the group"}
},
"This function is provided by the package ", TO InvariantRing,". ",

    PARA {
    "Use this function to get the user-defined
    generators of a group action."
},
   
    PARA { "The following example defines the permutation action
    of a symmetric group on three elements using three
    transpositions."  },

EXAMPLE {
    "R = QQ[x_1..x_3]",
    "L = {matrix {{0,1,0},{1,0,0},{0,0,1}}, matrix {{0,0,1},{0,1,0},{1,0,0}}, matrix {{1,0,0},{0,0,1},{0,1,0}} }",
    "G = finiteAction(L, R)",
    "generators G"
    },
   
    }


Any thoughts on how to fix this?

Thanks!

Mahrud Sayrafi

unread,
Sep 30, 2025, 6:38:14 PM (10 days ago) Sep 30
to maca...@googlegroups.com
Try adding [generators, CoefficientRing] as another document key on the same document node as (generators, FiniteGroupAction).

--
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/c4ab7f48-9469-4b6e-8b0e-5fa8671bda91n%40googlegroups.com.

Federico Galetto

unread,
Oct 1, 2025, 8:05:44 AM (9 days ago) Oct 1
to Macaulay2
That did it! Thank you very much!
Reply all
Reply to author
Forward
0 new messages