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

discretization: explicitly zero unused gradient components #107

Merged
merged 1 commit into from
Nov 14, 2020

Conversation

andrea-iob
Copy link
Member

Gradients are always defined as arrays with three components, therefore we need to zero unused components when dealing with polynomials defined on lower dimensions.

@andrea-iob andrea-iob force-pushed the discretization.zero.unused.gradients branch from eeff32e to a57f344 Compare November 13, 2020 08:01
@andrea-iob andrea-iob merged commit a57f344 into master Nov 14, 2020
@andrea-iob andrea-iob deleted the discretization.zero.unused.gradients branch November 14, 2020 16:37
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