-
Notifications
You must be signed in to change notification settings - Fork 169
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
base: master
Are you sure you want to change the base?
Conversation
…erivative(mod(x), x))
…erivative(mod(x), x))
…erivative(mod(x), x))
Codecov ReportAttention: Patch coverage is
❗ 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. 🚀 New features to boost your workflow:
|
Test failures |
…erivative(mod(x), x))
…erivative(mod(x), x))
Tests still fail |
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.