-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
DOC: reword non-monotonic cell center warning #18483
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
Conversation
48cc170 to
3ab4146
Compare
timhoffm
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No very strong opinion, but here's another wording:
The input coordinates to {funcname} are interpreted as cell centers but are not monotonically increasing or decreasing. This may lead to wrongly calculated mesh cell edges. In such a case, please supply explicit cell edges to {funcname}.
3ab4146 to
a6640ce
Compare
|
Thanks @timhoffm - edited yours a bit, but that is better. |
|
Doesn't look like you updated the expected text in the test? |
a6640ce to
8a54d4e
Compare
8a54d4e to
558ccae
Compare
|
I pushed a fix to the tests, as this is the last thing for 3.3.2. |
…483-on-v3.3.x Backport PR #18483 on branch v3.3.x (DOC: reword non-monotonic cell center warning)
|
I like these wording changes, thanks for fixing that up! |
PR Summary
Slight modification to the warning in #18398.
PR Checklist
pytestpasses).flake8on changed files to check).flake8-docstringsandpydocstyle<4and runflake8 --docstring-convention=all).doc/users/next_whats_new/(follow instructions in README.rst there).doc/api/next_api_changes/(follow instructions in README.rst there).