Skip to content

Accept new plist matrix view format in tests - #1237

Merged
james-d-mitchell merged 1 commit into
semigroups:stable-5.7from
fingolfin:mh/plist-matrix-printing
Oct 16, 2026
Merged

james-d-mitchell merged 1 commit into
semigroups:stable-5.7from
fingolfin:mh/plist-matrix-printing

Conversation

@fingolfin

Copy link
Copy Markdown
Contributor

GAP 4.17 views matrices in IsPlistMatrixRep as
<2x2 plist matrix over R> instead of <2x2-matrix over R> (gap-system/gap#6686), which broke the standard tests and four manual examples.

Update the expected outputs to the new format and normalise the old one via a transformFunction in SEMIGROUPS.TestRec and in the manual example runner, so the tests pass with both old and new GAP. The transform can be removed once GAP < 4.17 is no longer supported.

Assisted-by: Claude Code (Opus 5.5)

GAP 4.17 views matrices in IsPlistMatrixRep as
<2x2 plist matrix over R> instead of <2x2-matrix over R>
(gap-system/gap#6686), which broke the standard tests and four
manual examples.

Update the expected outputs to the new format and normalise the old
one via a transformFunction in SEMIGROUPS.TestRec and in the manual
example runner, so the tests pass with both old and new GAP. The
transform can be removed once GAP < 4.17 is no longer supported.

Assisted-by: Claude Code (Opus 5.5)
@james-d-mitchell

Copy link
Copy Markdown
Collaborator

Thanks @fingolfin

@james-d-mitchell
james-d-mitchell merged commit 8093542 into semigroups:stable-5.7 Oct 16, 2026
37 checks passed
@fingolfin
fingolfin deleted the mh/plist-matrix-printing branch October 16, 2026 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants