Skip to content

Conversation

@fingolfin
Copy link
Member

This is a simple extension of the odd order theorem. See comment
inside the patch.

@fingolfin fingolfin added kind: enhancement Label for issues suggesting enhancements; and for pull requests implementing enhancements topic: library labels May 28, 2018
lib/grp.gi Outdated
## any non-solvable finite group is a multiple of 4.
InstallImmediateMethod( IsSolvableGroup, IsGroup and HasSize, 10,
function( G )
G:= Size( G );
Copy link
Contributor

Choose a reason for hiding this comment

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

I appreciate that this is not code added in the patch, but personally I really don't like
this reuse of G. Adding a new local variable would add one line of source and 8 bytes of stack frame.

Copy link
Member Author

Choose a reason for hiding this comment

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

Agreed.

Copy link
Member Author

Choose a reason for hiding this comment

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

and done

@fingolfin fingolfin force-pushed the mh/twice-odd-is-solvable branch from fd661b0 to 53d077f Compare May 28, 2018 13:11
@codecov
Copy link

codecov bot commented May 28, 2018

Codecov Report

Merging #2496 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #2496      +/-   ##
==========================================
+ Coverage   74.27%   74.27%   +<.01%     
==========================================
  Files         484      484              
  Lines      245343   245343              
==========================================
+ Hits       182217   182218       +1     
+ Misses      63126    63125       -1
Impacted Files Coverage Δ
lib/grp.gi 85.56% <100%> (-0.38%) ⬇️
src/iostream.c 62.64% <0%> (-1.14%) ⬇️
lib/pcgsspec.gi 80.27% <0%> (-0.6%) ⬇️
lib/grplatt.gi 61.66% <0%> (-0.44%) ⬇️
lib/morpheus.gi 82.75% <0%> (-0.12%) ⬇️
lib/grpfp.gi 64.97% <0%> (-0.1%) ⬇️
lib/autsr.gi 31.52% <0%> (ø) ⬆️
src/objset.c 84.82% <0%> (+0.22%) ⬆️
lib/csetgrp.gi 59.31% <0%> (+0.37%) ⬆️
... and 2 more

@fingolfin fingolfin force-pushed the mh/twice-odd-is-solvable branch from 53d077f to e456443 Compare May 28, 2018 19:11
This is a simple extension of the odd order theorem. See comment
inside the patch.
@fingolfin fingolfin merged commit 1f1186a into gap-system:master May 29, 2018
@fingolfin fingolfin deleted the mh/twice-odd-is-solvable branch May 29, 2018 09:25
@fingolfin fingolfin added the release notes: added PRs introducing changes that have since been mentioned in the release notes label Jul 31, 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 topic: library

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants