Skip to content

Add test of second-order derivative of t -> abs(t)^2 #650

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

Merged
merged 1 commit into from
Jun 9, 2023

Conversation

devmotion
Copy link
Member

This PR adds the example in JuliaDiff/DiffRules.jl#98 (comment) as a test, to avoid that upstream reintroduces this bug (DiffRules runs downstream tests of ForwardDiff).

@codecov
Copy link

codecov bot commented Jun 7, 2023

Codecov Report

Patch coverage has no change and project coverage change: +2.67 🎉

Comparison is base (2263749) 86.98% compared to head (ea3a4b6) 89.65%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #650      +/-   ##
==========================================
+ Coverage   86.98%   89.65%   +2.67%     
==========================================
  Files          10       11       +1     
  Lines         891      967      +76     
==========================================
+ Hits          775      867      +92     
+ Misses        116      100      -16     

see 10 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@andreasnoack
Copy link
Member

Any idea why we'd see these test failures?

@devmotion
Copy link
Member Author

Not completely sure but I assume on Julia 1.9 it might just be due to different random numbers as only https://github.com/JuliaDiff/ForwardDiff.jl/actions/runs/5198679278/jobs/9375117936?pr=650#step:6:615 is failing. I don't know what's going on with nightly and the invalidations action.

@devmotion
Copy link
Member Author

I guess the test failures were indeed random, tests on Julia 1.9 passed successfully after rerunning them.

@devmotion devmotion merged commit e3670ce into master Jun 9, 2023
@devmotion devmotion deleted the dw/abs_hessian branch June 9, 2023 16:23
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.

2 participants