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

Use robust rank for generic SemidirectProduct method; function fields are fields; tweak a LocationFunc test #2977

Merged

Conversation

fingolfin
Copy link
Member

This fixes an infinite recursion if the rank of IsGroup and IsFinite
becomes very large (e.g. due to many packages are loaded which add
implications from that).

Resolves part of #2818

This fixes an infinite recursion if the rank of `IsGroup and IsFinite`
becomes very large (e.g. due to many packages are loaded which add
implications from that).
OnQuit is overwritten by SCSCP, causing this test to fail
@fingolfin fingolfin changed the title Use robust rank for generic SemidirectProduct method Use robust rank for generic SemidirectProduct method; function fields are fields; tweak a LocationFunc test Nov 8, 2018
@codecov
Copy link

codecov bot commented Nov 8, 2018

Codecov Report

Merging #2977 into master will decrease coverage by 0.97%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #2977      +/-   ##
==========================================
- Coverage   83.81%   82.83%   -0.98%     
==========================================
  Files         682      679       -3     
  Lines      345976   341571    -4405     
==========================================
- Hits       289970   282932    -7038     
- Misses      56006    58639    +2633
Impacted Files Coverage Δ
lib/gprd.gi 56.29% <100%> (-15.61%) ⬇️
src/modules.h 33.33% <0%> (-66.67%) ⬇️
src/libgap-api.c 0% <0%> (-66.67%) ⬇️
src/gvars.h 66.66% <0%> (-33.34%) ⬇️
src/fibhash.h 66.66% <0%> (-33.34%) ⬇️
lib/grpreps.gi 68.62% <0%> (-29.42%) ⬇️
src/gapstate.h 42.85% <0%> (-28.58%) ⬇️
src/gasman.h 69.23% <0%> (-25.9%) ⬇️
src/compiler.c 67.54% <0%> (-21.01%) ⬇️
src/permutat.h 48.27% <0%> (-20.69%) ⬇️
... and 196 more

@olexandr-konovalov
Copy link
Member

Excellent - this seem to fix it! I am running a test of this PR on Jenkins overnight, hope we can merge this tomorrow!

@olexandr-konovalov
Copy link
Member

olexandr-konovalov commented Nov 8, 2018

The tweak of the LocationFunc test will certainly help, but after #2898 when I run it on Jenkins, I observe this:

########> Diff in /circa/scratch/gap-jenkins/workspace/GAP-pull-request-quickt\
est/GAPCOPTS/64build/GAPGMP/gmp/GAPTARGET/install/label/kovacs/GAP-pull-reques\
t-snapshot/tst/testinstall/opers/LocationFunc.tst:9
# Input is:
LocationFunc(Where);
# Expected output:
"GAPROOT/lib/error.g:79"
# But found:
"/circa/scratch/gap-jenkins/workspace/GAP-pull-request-quicktest/GAPCOPTS/64bu\
\
ild/GAPGMP/gmp/GAPTARGET/install/label/kovacs/GAP-pull-request-snapshot/lib/er\
\
ror.g:79"
######## 

and I haven't yet had a look why. Anyhow, that's not related to method reordering.

@ChrisJefferson
Copy link
Contributor

I've tried reproducing this GAPROOT problem and can't. If you can find a machine you can reproduction it on, can you print out the gaproots?

@fingolfin
Copy link
Member Author

Since the tests pass here, and it resolves several (hopefully: all except for the LocationFunc one) of the issues @alex-konovalov reported on #2818, can we just merge this, and debug the LocationFunc issue somewhere else?

@olexandr-konovalov
Copy link
Member

I've checked those nightly Jenkins builds, and this PR heals all problems arising in the tests that load all packages. That's exactly what I was going to suggest, thanks.

@olexandr-konovalov olexandr-konovalov merged commit 0327c1e into gap-system:master Nov 9, 2018
@fingolfin fingolfin deleted the mh/fix-SemidirectProduct branch November 9, 2018 11:22
@olexandr-konovalov
Copy link
Member

See #2981 for LocationFunc.

@PaulaHaehndel PaulaHaehndel added the release notes: to be added PRs introducing changes that should be (but have not yet been) mentioned in the release notes label Apr 15, 2019
@DominikBernhardt DominikBernhardt added release notes: added PRs introducing changes that have since been mentioned in the release notes and removed release notes: to be added PRs introducing changes that should be (but have not yet been) mentioned in the release notes labels Aug 22, 2019
@olexandr-konovalov olexandr-konovalov added this to the GAP 4.11.0 milestone Feb 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release notes: added PRs introducing changes that have since been mentioned in the release notes topic: library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants