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

Check and probably fix is_group_element type trait. #121

Open
martun opened this issue Jan 10, 2024 · 0 comments
Open

Check and probably fix is_group_element type trait. #121

martun opened this issue Jan 10, 2024 · 0 comments

Comments

@martun
Copy link
Contributor

martun commented Jan 10, 2024

For some reason nil::crypto3::algebra::is_field_element<nil::crypto3::algebra::fields::detail::element_fp<nil::crypto3::algebra::fields::paramsnil::crypto3::algebra::fields::pallas_base_field>>::value = true, but is_group_element<...> = false.

Yet every field element is also a group element.
Maybe something is wrong with this type trait:

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

No branches or pull requests

1 participant