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 PolySlab in autograd gradient when sidewall_angle or dilation used #1792

Merged
merged 1 commit into from
Jul 1, 2024

Conversation

tylerflex
Copy link
Collaborator

No description provided.

@tylerflex tylerflex added the 2.7 will go into version 2.7.* label Jun 29, 2024
@tylerflex tylerflex force-pushed the tyler/autograd_/fix/polyslab branch from 8c88488 to 6000952 Compare June 29, 2024 09:14
Copy link
Contributor

@yaugenst-flex yaugenst-flex left a comment

Choose a reason for hiding this comment

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

Does this mean differentiation w.r.t. sidewall_angle and dilation works or is this fix only for the vertices?

@tylerflex
Copy link
Collaborator Author

Does this mean differentiation w.r.t. sidewall_angle and dilation works or is this fix only for the vertices?

No, these don't work yet. In fact, I'm not super sure how to define them (at least how to define gradient w.r.t sidewall_angle).

Before this fix, basically everything worked fine, but I never tested with a non-zero dilation or sidewall angle. It turned out things broke. I will update the changelog to be more specific, I see how this is a bit confusing.

@tylerflex tylerflex force-pushed the tyler/autograd_/fix/polyslab branch from 6000952 to 6b48d0d Compare July 1, 2024 12:16
@tylerflex tylerflex merged commit 515495d into develop Jul 1, 2024
16 checks passed
@tylerflex tylerflex deleted the tyler/autograd_/fix/polyslab branch July 1, 2024 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.7 will go into version 2.7.*
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants