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

Fixed the degree bits in the libalgebra lite index_key type #179

Merged
merged 1 commit into from
Dec 6, 2024

Conversation

inakleinbottle
Copy link
Contributor

The index_key is used for basis keys for libalgebra_lite tensors and Lie algebras. The default number of bits was set to 4, meaning a maximum of degree 15 for basis keys. This is probably the source of numerous errors in RoughPy when using degree >= 16. This change fixes the number of bits to 8, giving a maximum of degree 255, which should be completely sufficient until we can finally get rid of libalgebra_lite and replacing the badness within

The index_key is used for basis keys for libalgebra_lite tensors and Lie algebras. The default number of bits was set to 4, meaning a maximum of degree 15 for basis keys. This is probably the source of numerous errors in RoughPy when using degree >= 16. This change fixes the number of bits to 8, giving a maximum of degree 255, which should be completely sufficient until we can finally get rid of libalgebra_lite and replacing the badness within
@inakleinbottle inakleinbottle merged commit f6dcaa2 into main Dec 6, 2024
3 checks passed
@inakleinbottle inakleinbottle deleted the fix-bad-degree-bits-in-lal-key branch December 6, 2024 17:24
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.

1 participant