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 stored OD values for factor groups #3248

Merged
merged 2 commits into from
Jan 29, 2024

Conversation

ThomasBreuer
Copy link
Member

... and set obvious orthogonal_discriminants values automatically for perfect central extensions

This way, the character table display with ODs works automatically for "2.A8", "2.HS", etc.

and set obvious `orthogonal_discriminants` values
for perfect central extensions
res[mp[l[2]]] = l[4]
end
# Set values for faithful characters if applicable.
perf = (length(filter(i -> degree(tbl[i]) == 1, 1:length(tbl))) == 1)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
perf = (length(filter(i -> degree(tbl[i]) == 1, 1:length(tbl))) == 1)
perf = (count(i -> degree(tbl[i]) == 1, 1:length(tbl)) == 1)

or even nicer:

Suggested change
perf = (length(filter(i -> degree(tbl[i]) == 1, 1:length(tbl))) == 1)
perf = (count(x -> degree(x) == 1, tbl) == 1)

Comment on lines +155 to +156
for i in 1:length(tbl)
chi = tbl[i]
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
for i in 1:length(tbl)
chi = tbl[i]
for chi in tbl

Copy link
Member Author

Choose a reason for hiding this comment

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

I need i in the assignments.

Comment on lines 160 to 162
if mod(deg, 4 ) == 0
res[i] = "1"
elseif mod(deg, 2 ) == 0
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
if mod(deg, 4 ) == 0
res[i] = "1"
elseif mod(deg, 2 ) == 0
if mod(deg, 4) == 0
res[i] = "1"
elseif mod(deg, 2) == 0

or

Suggested change
if mod(deg, 4 ) == 0
res[i] = "1"
elseif mod(deg, 2 ) == 0
if mod(deg, 4) == 0
res[i] = "1"
elseif mod(deg, 2) == 0

Copy link

codecov bot commented Jan 26, 2024

Codecov Report

Merging #3248 (91ec387) into master (55e0078) will increase coverage by 0.02%.
Report is 6 commits behind head on master.
The diff coverage is 89.58%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3248      +/-   ##
==========================================
+ Coverage   81.63%   81.66%   +0.02%     
==========================================
  Files         546      546              
  Lines       73159    73146      -13     
==========================================
+ Hits        59726    59732       +6     
+ Misses      13433    13414      -19     
Files Coverage Δ
experimental/OrthogonalDiscriminants/test/data.jl 100.00% <ø> (ø)
src/GAP/wrappers.jl 96.66% <100.00%> (+0.01%) ⬆️
src/Groups/group_characters.jl 95.29% <100.00%> (+0.01%) ⬆️
experimental/OrthogonalDiscriminants/src/data.jl 88.81% <88.88%> (+0.23%) ⬆️

... and 13 files with indirect coverage changes

@lgoettgens lgoettgens closed this Jan 27, 2024
@lgoettgens lgoettgens reopened this Jan 27, 2024
@ThomasBreuer ThomasBreuer merged commit 5857e99 into oscar-system:master Jan 29, 2024
23 checks passed
@ThomasBreuer ThomasBreuer deleted the TB_OD_central_ext branch January 29, 2024 14:39
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.

3 participants