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

Replace type parameter determination with custom eltype() method. #7

Open
ktchu opened this issue Mar 22, 2022 · 0 comments
Open

Replace type parameter determination with custom eltype() method. #7

ktchu opened this issue Mar 22, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@ktchu
Copy link
Member

ktchu commented Mar 22, 2022

Currently, the type parameter of AbstractMultivectors and its subtypes is determined by examining the parameters. It is probably safer to directly extract the type parameter from the super-type using the approach described in the Julia documentation: https://docs.julialang.org/en/v1/manual/methods/#Extracting-the-type-parameter-from-a-super-type.

Examples of where this replacement could be made:

  • one()
  • zero()
@ktchu ktchu added the enhancement New feature or request label Mar 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant