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

Projects
None yet
2 participants
@andreasbuhr
Copy link
Contributor

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

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment