Skip to content

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

Merged
inakleinbottle merged 1 commit intomainfrom
fix-bad-degree-bits-in-lal-key
Dec 6, 2024
Merged

Fixed the degree bits in the libalgebra lite index_key type#179
inakleinbottle merged 1 commit intomainfrom
fix-bad-degree-bits-in-lal-key

Conversation

@inakleinbottle
Copy link
Copy Markdown
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
@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