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

dsl: Patch edge-case derivative specifications #2366

Merged
merged 2 commits into from
Apr 30, 2024
Merged

Conversation

EdCaunt
Copy link
Contributor

@EdCaunt EdCaunt commented Apr 30, 2024

Derivatives specified as Derivative(f, (x, 2), (y, 0)) (zeroth-order wrt one dimension) are a valid request, but the resultant derivatives were not equal to those specified as Derivative(f, (x, 2)) and certain routines such as substitution would fail. This PR patches this and adds a test.

@EdCaunt EdCaunt self-assigned this Apr 30, 2024
@EdCaunt EdCaunt requested a review from FabioLuporini April 30, 2024 10:09
Copy link

codecov bot commented Apr 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.74%. Comparing base (70fe897) to head (ca2d748).
Report is 14 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2366      +/-   ##
==========================================
+ Coverage   78.34%   86.74%   +8.39%     
==========================================
  Files         232      233       +1     
  Lines       43618    43662      +44     
  Branches     8073     8078       +5     
==========================================
+ Hits        34174    37873    +3699     
+ Misses       8684     5079    -3605     
+ Partials      760      710      -50     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

uncontroversial

@FabioLuporini FabioLuporini merged commit cc04dba into master Apr 30, 2024
31 checks passed
@FabioLuporini FabioLuporini deleted the deriv_subs_patch branch April 30, 2024 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants