Skip to content

Fix SciMLBase v3 breaking changes and bump version#288

Closed
ChrisRackauckas wants to merge 1 commit into
masterfrom
scimlbase-v3-compat
Closed

Fix SciMLBase v3 breaking changes and bump version#288
ChrisRackauckas wants to merge 1 commit into
masterfrom
scimlbase-v3-compat

Conversation

@ChrisRackauckas

Copy link
Copy Markdown
Member

Summary

  • Replace removed DiffEqBase.DEProblem with DiffEqBase.AbstractDEProblem in two_stage_objective and multiple_shooting_objective signatures
  • Fix length(sol)length(sol.t) in L2Loss AbstractSciMLSolution dispatch (in SciMLBase v3, length(sol) returns nstates * ntimesteps rather than just ntimesteps)
  • Fix sol[k][1]sol[k].u[1] and sol[k-1][end]sol[k-1].u[end] in multiple_shooting_objective discontinuity penalty (in v3, scalar indexing on an ODESolution gives the first element across all components, not the first timestep state vector)
  • Update SciMLBase compat bounds: "1.69, 2""2, 3" (dropping v1 since the fixes are not backward compatible with v1 behavior)
  • Bump package version: 2.3.0 → 2.4.0
  • Supersedes Update SciMLBase requirement from 1.69, 2 to 1.69, 2, 3.0 in the all-julia-packages group across 1 directory #287

🤖 Generated with Claude Code

- Replace removed DiffEqBase.DEProblem with DiffEqBase.AbstractDEProblem
  in two_stage_objective and multiple_shooting_objective signatures
- Fix length(sol) -> length(sol.t) in L2Loss AbstractSciMLSolution dispatch
  (v3 length(sol) returns nstates*ntimesteps, not just ntimesteps)
- Fix sol[k][1]/sol[k-1][end] -> sol[k].u[1]/sol[k-1].u[end] in
  multiple_shooting_objective discontinuity penalty (v3 scalar indexing)
- Update SciMLBase compat from "1.69, 2" to "2, 3"
- Bump package version from 2.3.0 to 2.4.0

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@ChrisRackauckas ChrisRackauckas deleted the scimlbase-v3-compat branch May 6, 2026 05:18
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.

1 participant