From 6d494b3c8ec7aaa3c9e004d91c038daa3c7d1c2f Mon Sep 17 00:00:00 2001 From: Doug Torrance Date: Thu, 19 Sep 2024 13:10:08 -0400 Subject: [PATCH] Use a different random seed for randomBinaryForm example Otherwise, we end up calling QEPCAD, which will fail if it's not available (e.g., on the macOS GitHub builds). --- M2/Macaulay2/packages/CoincidentRootLoci/documentation.m2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/M2/Macaulay2/packages/CoincidentRootLoci/documentation.m2 b/M2/Macaulay2/packages/CoincidentRootLoci/documentation.m2 index f7e7f45d92a..08c6dbfbef6 100644 --- a/M2/Macaulay2/packages/CoincidentRootLoci/documentation.m2 +++ b/M2/Macaulay2/packages/CoincidentRootLoci/documentation.m2 @@ -330,7 +330,7 @@ randomBinaryForm(d,r,) randomBinaryForm(d,,c)", Inputs => {"d" => ZZ,"r" => ZZ,"c" => ZZ}, Outputs => {RingElement => {"a random binary form of degree ",TT"d",", real rank ",TT "r"," and complex rank ",TT "c"}}, -EXAMPLE {"F = randomBinaryForm 5","F = randomBinaryForm(5,4,3)","(realrank F,complexrank F)","F = randomBinaryForm(6,4,4)","(realrank F,complexrank F)",}, +EXAMPLE {"setRandomSeed 2", "F = randomBinaryForm 5","F = randomBinaryForm(5,4,3)","(realrank F,complexrank F)","F = randomBinaryForm(6,4,4)","(realrank F,complexrank F)",}, SeeAlso => {realrank,complexrank}} document { Key => {realroots,(realroots,RingElement)},