Skip to content

fix: drop stale _clamp import (un-break Blocks/math tests) - #458

Merged
ChrisRackauckas merged 1 commit into
SciML:mainfrom
ChrisRackauckas-Claude:fix-stale-clamp-import
Jun 6, 2026
Merged

fix: drop stale _clamp import (un-break Blocks/math tests)#458
ChrisRackauckas merged 1 commit into
SciML:mainfrom
ChrisRackauckas-Claude:fix-stale-clamp-import

Conversation

@ChrisRackauckas-Claude

Copy link
Copy Markdown
Member

Drops the stale _clamp import in test/Blocks/math.jl_clamp was removed from the source (the Limiter component now uses the builtin clamp). The dead import errors UndefVarError: _clamp in the 2nd Core testset on every Julia/dep combination, redding master CI and blocking Downgrade re-enablement. _clamp is unused in the test; _dead_zone (still in source) is kept. Verified _clamp appears nowhere else in the repo.

Ignore until reviewed by @ChrisRackauckas.

🤖 Generated with Claude Code

test/Blocks/math.jl imported `_clamp` from Blocks, but `_clamp` was
removed from the source — the Limiter component now calls the builtin
`clamp` directly (src/Blocks/nonlinear.jl). The dead import made the
2nd Core testset error with `UndefVarError: _clamp` on every Julia/dep
combination, so the whole suite (and downgrade CI) fails at master.
`_clamp` is unused in the test; `_dead_zone` (still in source) is kept.

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ChrisRackauckas
ChrisRackauckas marked this pull request as ready for review June 6, 2026 23:19
@ChrisRackauckas
ChrisRackauckas merged commit 5bbfc54 into SciML:main Jun 6, 2026
5 of 11 checks passed
ChrisRackauckas added a commit that referenced this pull request Jun 7, 2026
Remove the `if: false` that was skipping the Downgrade workflow so it
runs again under the centralized downgrade.yml@v1 (strict,
allow_reresolve=false). The job is expected to be RED until the fntype
regression (#458/#452) is resolved, at which point it auto-greens.

Co-authored-by: Chris Rackauckas - Beep Boop Edition <accounts@chrisrackauckas.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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