Macaulay2 / Macaulay2/M2

ARingZZGMP reports the FLINT ring name

Open Beginner friendly
#4,695 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

In the current engine, M2::ARingZZGMP::text_out prints ZZFlint. A directly constructed GMP integer ring should identify its own backend.

Reproducer in an engine unit test:

M2::ARingZZGMP R;
EXPECT_EQ(ringName(R), "ZZGMP");

The assertion fails with actual value ZZFlint. This is reproduced on the Cornell arings branch at c156fdcba4 on AppleClang 21, arm64 macOS. The regression can be enabled when text_out reports ZZGMP.

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.

Research direction

Locate M2::ARingZZGMP::text_out in the engine sources and inspect why a directly constructed GMP integer ring reports ZZFlint. Enable or run the engine unit-test reproducer with ringName(R); done means the assertion passes with the value ZZGMP.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend, testing
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
78/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.