Commit 7bacc29
Add PreImagesSet method for semigroup homs by images
GAP 4.17 changes PreImagesSet: a generic method now checks that the
argument is a subset of the range and returns the preimage of its
intersection with the image. With that method, PreImagesSet no longer
signals an error for elements without preimages, which the tests
expect, and the error for elements outside the range changes.
Install a method for semigroup homomorphisms by images that performs
the range check with the package's own error message and otherwise
delegates to PreImagesElm, so behaviour is the same with all supported
GAP versions.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>1 parent 2d7b9b7 commit 7bacc29
2 files changed
Lines changed: 16 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
425 | 425 | | |
426 | 426 | | |
427 | 427 | | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
428 | 442 | | |
429 | 443 | | |
430 | 444 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
130 | | - | |
| 129 | + | |
| 130 | + | |
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| |||
0 commit comments