Macaulay2 / Macaulay2/M2

bug in randomPoints

Open
#3,993 1 comment 0 reactions 1 assignee View on GitHub

@kschwede is already working on this.

Since Oct 2, 2025.

package issue
Dominant language
Macaulay2
Stars
435
Forks
297
Avg merge
4d 20h
Merged PRs (30d)
11

Description

From the [Google group](https://groups.google.com/g/macaulay2/c/aLvwnnJDvuU/m/9lzmAjXJAQAJ) (reported by @eisenbud):

> The following short example with nonstandard degrees loops forever, also with the option `Homogeneous => false`
>
> ```m2
> needsPackage "RandomPoints"
> kk = ZZ/(nextPrime 10^4)
> A2 = kk[x,y,Degrees=> {2,1}]
> I = ideal "x-y2"
> elapsedTime randomPoints(I)
> ```

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.