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

LinearAlgebra::EpetraWrappers::Vector has no operator[]() #16877

Closed
marcfehling opened this issue Apr 11, 2024 · 2 comments
Closed

LinearAlgebra::EpetraWrappers::Vector has no operator[]() #16877

marcfehling opened this issue Apr 11, 2024 · 2 comments

Comments

@marcfehling
Copy link
Member

The LinearAlgebra::EpetraWrappers::Vector class has no member function operator[]().

This limits using the class as a template parameter in structures and functions which require that a VectorType needs to be accessed via the bracket operator[].

For example, we cannot explicitly instantiate the SolutionTransfer class with LinearAlgebra::EpetraWrappers::Vector. See also #15706 (comment).

@pcafrica
Copy link
Contributor

This issue has been solved in #16880.

Do we have a list of classes that could not be explicitly instantiated due to this reason and can therefore be adapted?

@bangerth
Copy link
Member

I don't think we have such a list. In fact, this is the first time I heard that we have this issue, so it doesn't seem to be too widespread.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants