-
Notifications
You must be signed in to change notification settings - Fork 231
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
api: Make Derivative Reconstructable #2429
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2429 +/- ##
=======================================
Coverage 86.98% 86.99%
=======================================
Files 236 236
Lines 44811 44821 +10
Branches 8359 8360 +1
=======================================
+ Hits 38981 38991 +10
Misses 5101 5101
Partials 729 729 ☔ View full report in Codecov by Sentry. |
@@ -713,6 +713,16 @@ def test_deriv_spec(self): | |||
assert dxy0.x0 == {y: y+y.spacing/2} | |||
assert dxy02.x0 == {x: x+x.spacing/2} | |||
|
|||
def test_deriv_stagg_plain(self): |
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.
Would it be worth also testing evaluating staggered=None
onto staggered=x
? Also potentially mixing staggered=None
and staggered=NODE
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.
That would not be the point of this test which is to evaluate at the same point for different function, evaluation for proper staggering is already tested in multiple places
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.
LGTM
Fixes
https://devitocodes.slack.com/archives/C1HSXP6KB/p1721850267638059