ARingZZGMP reports the FLINT ring name
Nobody has claimed this yet.
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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