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

Tweak ShowImpliedFilters some more #2340

Merged
merged 1 commit into from
Apr 9, 2018

Conversation

fingolfin
Copy link
Member

Now for "May imply with", we also hide implications which already
follow from the other filter. For example, before:

gap> ShowImpliedFilters(IsFinitelyGeneratedGroup);
...
+IsNilpotentGroup
   IsSupersolvableGroup
   IsSolvableGroup
   IsPolycyclicGroup
   IsNilpotentByFinite

After this change:

gap> ShowImpliedFilters(IsFinitelyGeneratedGroup);
...
+IsNilpotentGroup
   IsPolycyclicGroup

@fingolfin fingolfin added the kind: enhancement Label for issues suggesting enhancements; and for pull requests implementing enhancements label Mar 30, 2018
@codecov
Copy link

codecov bot commented Mar 30, 2018

Codecov Report

Merging #2340 into master will decrease coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #2340      +/-   ##
==========================================
- Coverage   73.07%   73.07%   -0.01%     
==========================================
  Files         480      480              
  Lines      246622   246628       +6     
==========================================
+ Hits       180213   180217       +4     
- Misses      66409    66411       +2
Impacted Files Coverage Δ
lib/methwhy.g 50.64% <100%> (+1.08%) ⬆️
src/hpc/traverse.c 95.75% <0%> (-0.59%) ⬇️
src/objset.c 81.63% <0%> (-0.23%) ⬇️

Copy link
Contributor

@ThomasBreuer ThomasBreuer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a nice improvement.
(The first assignment to diff_impls can be removed.)

@fingolfin fingolfin force-pushed the mh/ShowImpliedFilters-again branch from 72549fb to 82d5f0b Compare April 2, 2018 20:42
@fingolfin
Copy link
Member Author

Fixed

Now for "May imply with", we also hide implications which already
follow from the other filter. For example,  before:

gap> ShowImpliedFilters(IsFinitelyGeneratedGroup);
...
+IsNilpotentGroup
   IsSupersolvableGroup
   IsSolvableGroup
   IsPolycyclicGroup
   IsNilpotentByFinite

After this change:

gap> ShowImpliedFilters(IsFinitelyGeneratedGroup);
...
+IsNilpotentGroup
   IsPolycyclicGroup

Indeed, IsNilpotentGroup already implies IsSolvableGroup and IsNilpotentByFinite
on its own.
@fingolfin fingolfin force-pushed the mh/ShowImpliedFilters-again branch from 82d5f0b to 9ccba17 Compare April 7, 2018 15:34
@fingolfin fingolfin merged commit 5859fbe into gap-system:master Apr 9, 2018
@fingolfin fingolfin deleted the mh/ShowImpliedFilters-again branch April 9, 2018 16:08
@fingolfin fingolfin added the release notes: added PRs introducing changes that have since been mentioned in the release notes label May 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: enhancement Label for issues suggesting enhancements; and for pull requests implementing enhancements release notes: added PRs introducing changes that have since been mentioned in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants