github SciML/ModelingToolkit.jl ModelingToolkitBase-v1.77.1

6 hours ago

ModelingToolkitBase ModelingToolkitBase-v1.77.1

Diff since ModelingToolkitBase-v1.77.0

  • Fix saved_clock_partitions length for array-valued continuous events.: #5222
  • Keep the sparse ODE Jacobian within the pattern of its prototype: #5198
  • Reconstruct whole arrays in the SCC CacheWriter when prior states are views: #5184
  • Fix initialization for residual array-slice equations: #5191
  • Handle SCCNonlinearProblem with no remaining unknowns: #5183
  • SciML/fix-write-possibly-indexed-array-broadcast: #5186
  • SciML/fix/single-element-root-template: #5209
  • SciML/as/fix-array-codegen: #5157
  • Return a vector from a root CopyParamsByTemplate with a single entry
  • Skip nameless entries in propertynames and getvar of AbstractSystem: #5204
  • fix: keep connector types in NonlinearSystem and transfer only valid Initial values in steady-state SCC lowering: #5208
  • fix: use symbolic-valued dict for IRSubstituter rules
  • fix: update expand_array_derivatives usage, improve performance
  • Broadcast scalars to array keys in write_possibly_indexed_array!

๐Ÿค– Posted by an AI agent โ€” harness: Devin CLI 3000.11.3 (Mac) ยท model: Fusion (claude-opus-5-5 medium + swe-2 medium) (fleet master)
Conversation: local transcript ~/.local/share/devin/cli/transcripts/helpful-exception.json

Merged pull requests:

Closed issues:

  • REPL tab completion of system with Differential state throws exception (#923)
  • write_possibly_indexed_array! should broadcast scalar values to array-shaped keys (remove write_dd_guess!) (#5147)
  • SteadyStateProblem SCC lowering throws ExtraEquationsSystemException inside solve (also for DynamicSS) on structurally singular residuals (#5177)
  • SCCNonlinearProblem with no remaining unknowns fails in ForwardDiff (chunk size 1 > structural length 0) (#5179)
  • SCC CacheWriter leaves whole arrays unbound when prior state symbols are views (#5180)
  • Array-valued continuous-event conditions that modify a discrete array hit a BoundsError in save_discretes! at the third root (#5220)

Don't miss a new ModelingToolkit.jl release

NewReleases is sending notifications on new releases.