Skip to content

Commit 143fa17

Browse files
fix: drop stale _clamp import (un-break Blocks/math tests)
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>
1 parent df33dee commit 143fa17

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/Blocks/math.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using ModelingToolkitStandardLibrary.Blocks
22
using SciCompDSL
33
using ModelingToolkit, OrdinaryDiffEq, Test
4-
using ModelingToolkitStandardLibrary.Blocks: _clamp, _dead_zone
4+
using ModelingToolkitStandardLibrary.Blocks: _dead_zone
55
using ModelingToolkit: inputs, unbound_inputs, bound_inputs, t_nounits as t
66
using OrdinaryDiffEq: ReturnCode.Success
77
using OrdinaryDiffEqRosenbrock: Rodas4

0 commit comments

Comments
 (0)