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 for finite differences. #1558

Merged
merged 1 commit into from
Nov 13, 2024
Merged

Fix for finite differences. #1558

merged 1 commit into from
Nov 13, 2024

Conversation

1uc
Copy link
Collaborator

@1uc 1uc commented Nov 13, 2024

The previous implementation would apply the transformation to children of the node in the AST. Hence, if the root was sp.Derivative it would fail.

This commit adds a fix and the tests.

The previous implementation would apply the transformation to children
of the node in the AST. Hence, if the root was `sp.Derivative` it would
fail.

This commit adds a fix and the tests.
@1uc 1uc marked this pull request as ready for review November 13, 2024 12:26
@1uc 1uc merged commit 16b5f95 into master Nov 13, 2024
12 checks passed
@1uc 1uc deleted the 1uc/fix-finite-difference branch November 13, 2024 13:02
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