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

BUG: inconsistent adjoint calculation with assign #3074

Closed
Ig-dolci opened this issue Aug 22, 2023 · 1 comment
Closed

BUG: inconsistent adjoint calculation with assign #3074

Ig-dolci opened this issue Aug 22, 2023 · 1 comment
Assignees
Labels

Comments

@Ig-dolci
Copy link
Contributor

The pattern

  u0.assign(uic)
  u1.assign(2 * u0 + uic)

leads to an inconsistent adjoint calculation. The first assignment leads to the checkpoint property for u0 being set to uic, which means that the adjoint sees the expression 2 * uic + uic in the second assignment.

@Ig-dolci Ig-dolci added the bug label Aug 22, 2023
@Ig-dolci Ig-dolci self-assigned this Aug 22, 2023
@Ig-dolci
Copy link
Contributor Author

This bug was fixed with the PR 3072

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant