Skip to content

Test cleanup: declare λ-extended jacs via lambda_extended = true (blocked on next SciMLBase release) - #1027

Merged
ChrisRackauckas merged 2 commits into
SciML:masterfrom
ChrisRackauckas-Claude:lambda-extended-jacs
Jul 11, 2026
Merged

ChrisRackauckas merged 2 commits into
SciML:masterfrom
ChrisRackauckas-Claude:lambda-extended-jacs

Conversation

@ChrisRackauckas-Claude

@ChrisRackauckas-Claude ChrisRackauckas-Claude commented Jul 10, 2026 •

Copy link
Copy Markdown
Member

Note: This PR should be ignored until reviewed by @ChrisRackauckas.

DO NOT MERGE until SciMLBase 3.34.0 is registered — this PR carries a SciMLBase = "3.34" compat floor, and the version bump is queued as SciML/SciMLBase.jl#1431 (the lambda_extended feature from SciML/SciMLBase.jl#1430 merged after 3.33.1 was tagged). CI here stays red until that release lands; it should turn green on its own afterward.

What

SciML/SciMLBase.jl#1430 added the lambda_extended kwarg to NonlinearFunction so HomotopyProblem functions can declare that their derivative fields use the λ-extended arities (jac(u, p, λ) / jac(J, u, p, λ)) without defining decoy (u, p) methods to satisfy the interface check. This drops the six dummy error(...)-throwing λ-free methods from test/Core/homotopy_jac_tests__item1.jl, passes lambda_extended = true on the six constructions instead — testing the intended user-facing pattern rather than the workaround — and raises the SciMLBase compat floor to 3.34.

Verification

Ran the test file locally against a dev'd SciMLBase at master (1e3501a8, the #1430 merge) with the local NonlinearSolve packages, before and after rebasing onto current master:

Test Summary:       | Pass  Total     Time
lambda_extended jac |   30     30  2m23.7s

🤖 Generated with Claude Code

ChrisRackauckas and others added 2 commits July 11, 2026 00:07
SciMLBase#1430 added the lambda_extended NonlinearFunction kwarg so
HomotopyProblem functions can declare λ-extended-only derivative arities
without defining decoy (u, p) methods for the interface check. Drop the
six error-throwing dummy methods and declare the intent directly.

Requires the SciMLBase release containing SciML/SciMLBase.jl#1430
(unreleased as of this commit; latest registered 3.33.1 predates it).

Co-Authored-By: Claude Fable 5 <[email protected]>
Co-Authored-By: Chris Rackauckas <[email protected]>
Co-Authored-By: Claude Fable 5 <[email protected]>
Co-Authored-By: Chris Rackauckas <[email protected]>
@ChrisRackauckas
ChrisRackauckas marked this pull request as ready for review July 11, 2026 04:37
@ChrisRackauckas
ChrisRackauckas merged commit d9db905 into SciML:master Jul 11, 2026
19 of 71 checks passed
ChrisRackauckas added a commit that referenced this pull request Jul 11, 2026
… NonlinearSolve 4.20.4 (#1034)

Registered versions (NLSB 2.33.0 on 2026-07-06) predate the merged
homotopy work: #1021, #1022, #1024, #1025, #1028, #1029 (NLSB features
=> minor), #1028's tracking_abstol on SimpleHomotopySweep (=> minor),
and #1027's SciMLBase 3.34 compat floor (top-level => patch).

Co-authored-by: ChrisRackauckas-Claude <[email protected]>
Co-authored-by: Claude Fable 5 <[email protected]>
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