Skip to content

Commit 1f304c3

Browse files
baggepinnenclaude
andcommitted
Do not name an argument _ in methods with keyword arguments
Julia 1.10 rejects such methods with "syntax: all-underscore identifier used as rvalue", which made the package fail to load on the lowest supported Julia version. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
1 parent 1618093 commit 1f304c3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/frd.jl‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,8 @@ end
110110

111111
ControlSystemsBase.noutputs(f::FRD) = f.r isa AbstractVector ? 1 : size(f.r, 1)
112112
ControlSystemsBase.ninputs(f::FRD) = f.r isa AbstractVector ? 1 : size(f.r, 2)
113-
ControlSystemsBase._default_freq_vector(f::Vector{<:FRD}, _; kwargs...) = f[1].w
114-
ControlSystemsBase._default_freq_vector(f::FRD, _; kwargs...) = f.w
113+
ControlSystemsBase._default_freq_vector(f::Vector{<:FRD}, ::Any; kwargs...) = f[1].w
114+
ControlSystemsBase._default_freq_vector(f::FRD, ::Any; kwargs...) = f.w
115115
function ControlSystemsBase.bode(f::FRD, w::AbstractVector = f.w; unwrap=true, kwargs...) # kwargs such as balance do not apply to frequency-response data
116116
w == f.w || error("Frequency vector must match the one stored in the FRD")
117117
angles = angle.(f.r)

0 commit comments

Comments
 (0)