Skip to content

Commit 29c1647

Browse files
authored
fix Vararg comment (#306)
(I'm going through all repos indexed by Juliahub to remove deprecated Vararg{<:T)
1 parent 3bab383 commit 29c1647

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/operators.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ Convert a tuple of variables into a static vector to allow array-like usage.
495495
The element type of the vector will be Monomial{vars, length(vars)}.
496496
"""
497497
Base.vec(vars::Tuple{Vararg{AbstractVariable}}) = [vars...]
498-
# vec(vars::Tuple{Vararg{<:TypedVariable}}) = SVector(vars)
498+
# vec(vars::Tuple{Vararg{TypedVariable}}) = SVector(vars)
499499

500500
# https://github.com/JuliaLang/julia/pull/23332
501501
Base.:^(x::AbstractPolynomialLike, p::Integer) = Base.power_by_squaring(x, p)

0 commit comments

Comments
 (0)