Skip to content

Fix scalar normalization in ClassicalForms_GeneratorsWithBetterScalarsSesquilinear#84

Merged
fingolfin merged 2 commits into
gap-packages:masterfrom
chseeger:cs/GeneratorsWithBetterScalars
May 17, 2026
Merged

Fix scalar normalization in ClassicalForms_GeneratorsWithBetterScalarsSesquilinear#84
fingolfin merged 2 commits into
gap-packages:masterfrom
chseeger:cs/GeneratorsWithBetterScalars

Conversation

@chseeger
Copy link
Copy Markdown
Contributor

@chseeger chseeger commented Apr 9, 2026

Fixes the issues described in #83:

  • use exponent q+1 instead of 2, which corrects the unitary case,
  • remove a normalization step based on a single root.

This (hopefully) improves detection of forms preserved up to scalar without changing the overall algorithm.

In ClassicalForms_GeneratorsWithBetterScalarsSesquilinear,
- use exponent q+1 instead of 2
- remove root-based normalization
@fingolfin
Copy link
Copy Markdown
Member

@jdebeule @johnbamberg ping -- any thoughts on this?

@codecov
Copy link
Copy Markdown

codecov Bot commented May 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.20%. Comparing base (87b3163) to head (c4f244d).

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #84      +/-   ##
==========================================
+ Coverage   80.97%   81.20%   +0.23%     
==========================================
  Files           6        6              
  Lines        3690     3688       -2     
==========================================
+ Hits         2988     2995       +7     
+ Misses        702      693       -9     
Files with missing lines Coverage Δ
lib/recognition_new.gi 90.85% <100.00%> (+2.67%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread lib/recognition_new.gi Outdated
@fingolfin
Copy link
Copy Markdown
Member

@jdebeule @johnbamberg I haven't heard from you, but we do need this fix. So I'll go ahead and merge this, and make a release.

@fingolfin fingolfin merged commit 9392b7a into gap-packages:master May 17, 2026
8 of 9 checks passed
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.

2 participants