Skip to content

Fix incorrect code generated for Symbolics.build_function(Symbolics.derivative(mod(x), x)) #1123 #1514

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

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

savaliyabhargav
Copy link

This PR adds a new rule for handling derivatives of the mod function and introduces corresponding test cases. Additionally, we integrate FiniteDiff for testing derivative values to ensure correctness. These changes aim to improve the accuracy and reliability of derivative calculations.

@codecov-commenter
Copy link

codecov-commenter commented Apr 1, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 15.87%. Comparing base (9df148a) to head (65b40d8).
Report is 99 commits behind head on master.

Files with missing lines Patch % Lines
src/diff.jl 0.00% 2 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1514      +/-   ##
==========================================
+ Coverage    8.79%   15.87%   +7.08%     
==========================================
  Files          51       51              
  Lines        4924     5007      +83     
==========================================
+ Hits          433      795     +362     
+ Misses       4491     4212     -279     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@AayushSabharwal
Copy link
Member

Test failures

@AayushSabharwal
Copy link
Member

Tests still fail

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.

3 participants