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

MatrixFree::gather_evalute(): allow mixed numbers #13076

Merged
merged 1 commit into from Dec 15, 2021

Conversation

peterrum
Copy link
Member

No description provided.

Comment on lines 85 to 89
const Number * src_ptr,
const std::vector<ArrayView<const Number>> * sm_ptr,
const Number2 * src_ptr,
const std::vector<ArrayView<const Number2>> * sm_ptr,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we be able to avoid Number2 here and just use Number, hence implying Number != VectorizedArrayType::value_type? I see no reason to need the underlying scalar type of VectorizedArrayType, unless I am missing something.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Like this?

Copy link
Member

@kronbichler kronbichler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this looks much better. Thank you.

@kronbichler
Copy link
Member

/rebuild

@kronbichler kronbichler merged commit 0acb31b into dealii:master Dec 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants