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

Fix expression -Werror #216

Merged
merged 6 commits into from
Feb 25, 2020
Merged

Fix expression -Werror #216

merged 6 commits into from
Feb 25, 2020

Conversation

michalhabera
Copy link
Contributor

Fixes compilation warnings for expressions (and corner case of multi-point dofs).
The fix basically involves a use of FE table of type "quadrature".
This was previously skipped and functions on Quadrature FE space were accessed directly avoiding a loop over canonical array {0.0, 0.0, ...,0.0, 1.0, 0.0, ..., 0.0}. This is a special optimisation which could anyway be performed by a good compiler and -ffast-math flag.

@garth-wells garth-wells merged commit 627b10a into master Feb 25, 2020
@garth-wells garth-wells deleted the michal/fix-expression-werror branch February 25, 2020 14:14
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.

2 participants