Skip to content

Use seed_zero_partials! on ForwardDiff >= 1.4.4 - #34

Merged
ChrisRackauckas merged 1 commit into
JuliaDiff:mainfrom
JamesWrigley:partials
Aug 5, 2026
Merged

Use seed_zero_partials! on ForwardDiff >= 1.4.4#34
ChrisRackauckas merged 1 commit into
JuliaDiff:mainfrom
JamesWrigley:partials

Conversation

@JamesWrigley

Copy link
Copy Markdown
Contributor

ForwardDiff 1.4.4 (JuliaDiff/ForwardDiff.jl#821) split the zero-partials forms of seed! out under the name seed_zero_partials!, so seed!(duals, x) and seed!(duals, x, index) no longer exist and every path here threw a MethodError: https://github.com/SciML/NonlinearSolve.jl/actions/runs/30984933342/job/92237814999?pr=1138#step:12:491

Written with help from Claude 🤖

ForwardDiff 1.4.4 split the zero-partials forms of `seed!` out under the name
`seed_zero_partials!`, so `seed!(duals, x)` and `seed!(duals, x, index)` no
longer exist and every path here threw a MethodError.
@codecov

codecov Bot commented Aug 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.22%. Comparing base (0af7651) to head (694f6e1).
⚠️ Report is 9 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #34      +/-   ##
==========================================
+ Coverage   95.28%   96.22%   +0.94%     
==========================================
  Files           1        1              
  Lines         106      106              
==========================================
+ Hits          101      102       +1     
+ Misses          5        4       -1     

☔ View full report in Codecov by Harness.
📢 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.

@ChrisRackauckas
ChrisRackauckas merged commit 682697c into JuliaDiff:main Aug 5, 2026
6 checks passed
@JamesWrigley
JamesWrigley deleted the partials branch August 5, 2026 10:32
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