From f436504f469940d4a814091ab8e83820396a086a Mon Sep 17 00:00:00 2001 From: Oscar Smith Date: Sat, 23 Nov 2024 15:10:38 -0500 Subject: [PATCH] fix Vararg comment (I'm going through all repos indexed by Juliahub to remove deprecated Vararg{<:T) --- src/operators.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/operators.jl b/src/operators.jl index 22dbf3d9..61b7a082 100644 --- a/src/operators.jl +++ b/src/operators.jl @@ -495,7 +495,7 @@ Convert a tuple of variables into a static vector to allow array-like usage. The element type of the vector will be Monomial{vars, length(vars)}. """ Base.vec(vars::Tuple{Vararg{AbstractVariable}}) = [vars...] -# vec(vars::Tuple{Vararg{<:TypedVariable}}) = SVector(vars) +# vec(vars::Tuple{Vararg{TypedVariable}}) = SVector(vars) # https://github.com/JuliaLang/julia/pull/23332 Base.:^(x::AbstractPolynomialLike, p::Integer) = Base.power_by_squaring(x, p)