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

Fix RootSystem to use the correct field for determining eigenvectors #4665

Merged
merged 1 commit into from
Sep 27, 2021
Merged

Fix RootSystem to use the correct field for determining eigenvectors #4665

merged 1 commit into from
Sep 27, 2021

Conversation

lgoettgens
Copy link
Contributor

It was assumed that the DefaultField of the minimal polynomial is the field to factor it over. In some cases, i.e. x^2+1 for some Lie Algebra over CC (=Field(E(4))) this differs and thus makes RootSystem fail.
Now, it uses the field of the lie algebra.

Closes #4661

Text for release notes

see title

It was  assumed that the DefaultField of the minimal polynomial ist the field to factor it over. In some cases, i.e. x^2+1 for some Lie Algebra over CC (=Field(E(4))) this differs and thus makes RootSystem fail.

Add test to `testbugfix`.
Copy link
Member

@fingolfin fingolfin left a comment

Choose a reason for hiding this comment

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

Looks good to me, thanks!

@fingolfin fingolfin added kind: bug Issues describing general bugs, and PRs fixing them kind: bug: wrong result Issues describing bugs that result in mathematically or otherwise wrong results, and PRs fixing them release notes: to be added PRs introducing changes that should be (but have not yet been) mentioned in the release notes labels Sep 27, 2021
@fingolfin fingolfin changed the title FIX: RootSystem now uses the correct field for determining eigenvectors Let RootSystem use the correct field for determining eigenvectors Sep 27, 2021
@fingolfin fingolfin merged commit 779adb0 into gap-system:master Sep 27, 2021
@fingolfin fingolfin added release notes: use title For PRs: the title of this PR is suitable for direct use 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 Sep 27, 2021
@lgoettgens lgoettgens deleted the lg/RootSystem branch September 27, 2021 13:56
@fingolfin fingolfin changed the title Let RootSystem use the correct field for determining eigenvectors Fix RootSystem to use the correct field for determining eigenvectors Aug 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: bug: wrong result Issues describing bugs that result in mathematically or otherwise wrong results, and PRs fixing them kind: bug Issues describing general bugs, and PRs fixing them release notes: use title For PRs: the title of this PR is suitable for direct use in the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RootSystem failing for some Lie Algebras
2 participants