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

api: Make Derivative Reconstructable #2429

Merged
merged 3 commits into from
Jul 26, 2024
Merged

api: Make Derivative Reconstructable #2429

merged 3 commits into from
Jul 26, 2024

Conversation

mloubout
Copy link
Contributor

Copy link

codecov bot commented Jul 25, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.99%. Comparing base (cd6ffbb) to head (f072f51).

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.
📢 Have feedback on the report? Share it here.

@@ -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):
Copy link
Contributor

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

Copy link
Contributor Author

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

@mloubout mloubout changed the title api: Fix corner case for staggered FD api: Make Derivative Reconstructable Jul 26, 2024
Copy link
Contributor

@FabioLuporini FabioLuporini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mloubout mloubout merged commit 4ef520b into master Jul 26, 2024
30 of 31 checks passed
@mloubout mloubout deleted the fd-corner branch July 26, 2024 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants