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

[operators.cg] fix first order integration #431

Merged
merged 2 commits into from Apr 11, 2018

Conversation

@andreasbuhr
Copy link
Contributor

@andreasbuhr andreasbuhr commented Mar 26, 2018

1st order integration for boundary integrals in operators.cg was broken.

All dimensions of size 1 of the array of shape functions, evaluated at integration points, were removed using "np.squeeze". This works fine as long as there is more than one integration point. When you integrate first order, there is only one integration point and the dimension for the integration point number is removed from the array.
Then "np.einsum" failed because it expected to have a dimension for the integration point number.

@sdrave sdrave merged commit 3fffaf0 into pymor:master Apr 11, 2018
2 checks passed
Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants