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

Revert "DOC: gradient uses 1st order central difference in the interior" #8606

Merged
merged 1 commit into from
Feb 12, 2017

Conversation

apbard
Copy link
Contributor

@apbard apbard commented Feb 12, 2017

Reverts #8605

Beside the typo 2st I think that the docs were right before. The function is using central finite differences with a 3 point stencil. That scheme, for uniformly spaced data, is actually of 2nd order.

@charris
Copy link
Member

charris commented Feb 12, 2017

I think some clarification of terminology is needed. The first order central difference (first derivative) is indeed second order in the error, so the first reversion here is correct as it refers to the error. I think the later corrections could use more explanation for clarity.

Don't call this a reversion, just call it something like DOC: Correct documentation of gradient, with more explanation in the body.

@charris
Copy link
Member

charris commented Feb 12, 2017

@apbard You can make this correction in your other PR when you rebase.

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

3 participants