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

Tweak central difference hermite source #11

Merged
merged 1 commit into from
Jul 27, 2023

Conversation

jlogan03
Copy link
Contributor

The method for evaluating the gradient right now in CentralDifference is a forward difference instead of central difference, which works fine most of the time but gives a slightly funky result in places with rapidly changing gradient such as sharp corners. This updates it to use a proper central difference.

@swiftcoder swiftcoder merged commit 185a0eb into swiftcoder:trunk Jul 27, 2023
1 check passed
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.

None yet

2 participants