Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NC versions of PreImages... #28

Closed
wants to merge 1 commit into from
Closed

NC versions of PreImages... #28

wants to merge 1 commit into from

Conversation

cdwensley
Copy link

PreImages, PreImagesElm, PreImagesSet and PreImagesRepresetnative, can all return incorrect results when the element(s) supplied are not in the range of the map.
This situation has been discussed in GAP issue #4809.
To rectify the situation the plan is to have NC versions of these four operations and to add tests to the non-NC versions.
The procedure to be adopted is as follows.
(1) Rename the four operations by adding 'NC' to their names, and then declare the original operations as synonyms of these. PR #5073 addresses this.
(2) Ask package authors/maintainers to convert all their calls to these functions to the NC versions (unless there is good reason not to do so).
A clause added to init.g ensures that the package still works in older versions of GAP.
(3) Once all the packages have been updated, add tests to the non-NC versions of the operations.
This PR attempts to implement (2) for package FinInG which uses the third and fourth of these operations and installs a method for PreImagesSet.

@codecov
Copy link

codecov bot commented Oct 8, 2022

Codecov Report

Merging #28 (14ab214) into master (4df72a4) will increase coverage by 0.01%.
The diff coverage is 63.63%.

@@            Coverage Diff             @@
##           master      #28      +/-   ##
==========================================
+ Coverage   47.60%   47.62%   +0.01%     
==========================================
  Files          34       34              
  Lines       17920    17926       +6     
==========================================
+ Hits         8531     8537       +6     
  Misses       9389     9389              
Impacted Files Coverage Δ
lib/gpolygons.gi 24.51% <0.00%> (ø)
lib/orbits-stabilisers.gi 42.58% <0.00%> (ø)
init.g 95.83% <100.00%> (+1.38%) ⬆️
lib/morphisms.gi 21.10% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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.

1 participant