Repository navigation
Test cleanup: declare λ-extended jacs via lambda_extended = true (blocked on next SciMLBase release) - #1027
Merged
ChrisRackauckas merged 2 commits intoJul 11, 2026
Conversation
ChrisRackauckas-Claude
force-pushed
the
lambda-extended-jacs
branch
from
July 10, 2026 09:51
16ecc2a to
81e1e0c
Compare
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-Claude
force-pushed
the
lambda-extended-jacs
branch
from
July 11, 2026 04:12
81e1e0c to
5adbff0
Compare
ChrisRackauckas
marked this pull request as ready for review
July 11, 2026 04:37
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]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 (thelambda_extendedfeature 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_extendedkwarg toNonlinearFunctionsoHomotopyProblemfunctions 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 dummyerror(...)-throwing λ-free methods fromtest/Core/homotopy_jac_tests__item1.jl, passeslambda_extended = trueon 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:
🤖 Generated with Claude Code