We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5fe899 commit 7445409Copy full SHA for 7445409
1 file changed
src/univariatearchmodel.jl
@@ -628,8 +628,8 @@ end
628
function modname(::Type{S}) where S<:Union{UnivariateVolatilitySpec, MeanSpec}
629
s = "$(S)"
630
lastcomma = findlast(isequal(','), s)
631
- lastcomma == nothing || (s = s[1:lastcomma-1] * '}')
+ lastcomma === nothing || (s = s[1:lastcomma-1] * '}')
632
firstdot = findfirst(isequal('.'), s)
633
- firstdot == nothing || (s = s[firstdot+1:end])
+ firstdot === nothing || (s = s[firstdot+1:end])
634
s
635
end
0 commit comments