Skip to content

Fix Runic format-check on master (ModelingToolkitBase)#4824

Merged
ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:agent/runic-mtkbase-format-fix
Jul 23, 2026
Merged

Fix Runic format-check on master (ModelingToolkitBase)#4824
ChrisRackauckas merged 1 commit into
SciML:masterfrom
ChrisRackauckas-Claude:agent/runic-mtkbase-format-fix

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member

This PR should be ignored until reviewed by @ChrisRackauckas.

Summary

Master format-check (Runic) is red on the latest push (11b86e7 / ModelingToolkitBase v1.56.1 bump):

Two files fail Runic 1.7:

  1. lib/ModelingToolkitBase/src/discretedomain.jlUnion{Nothing,Real}Union{Nothing, Real}
  2. lib/ModelingToolkitBase/src/systems/optimal_control_interface.jl — explicit return on final ODEInputFunction{...}(

Verification

  • Diff matches the CI Runic suggested patch exactly
  • Local Runic.format_string(...; filemode=true) reports both files OK after the change

No semantic / API changes.

Co-Authored-By: Chris Rackauckas accounts@chrisrackauckas.com

Runic 1.7 format-check fails on two ModelingToolkitBase files:
- discretedomain.jl: space after comma in Union{Nothing, Real}
- optimal_control_interface.jl: explicit return on ODEInputFunction

Matches CI Runic diffs exactly; verified with Runic.format_string.

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
@ChrisRackauckas
ChrisRackauckas marked this pull request as ready for review July 23, 2026 20:42
@ChrisRackauckas
ChrisRackauckas merged commit d55b472 into SciML:master Jul 23, 2026
32 of 37 checks passed
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