Skip to content

Commit 66cc03e

Browse files
authored
Adjust Tuple{Vararg{LinearMap}} notation (#132)
1 parent 809ab02 commit 66cc03e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/composition.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ for (f, _f, g) in ((:issymmetric, :_issymmetric, :transpose),
2727
LinearAlgebra.$f(A::CompositeMap) = $_f(A.maps)
2828
$_f(maps::Tuple{}) = true
2929
$_f(maps::Tuple{<:LinearMap}) = $f(maps[1])
30-
$_f(maps::Tuple{Vararg{<:LinearMap}}) =
30+
$_f(maps::Tuple{Vararg{LinearMap}}) =
3131
maps[end] == $g(maps[1]) && $_f(Base.front(Base.tail(maps)))
3232
# since the introduction of ScaledMap, the following cases cannot occur
33-
# function $_f(maps::Tuple{Vararg{<:LinearMap}}) # length(maps) >= 2
33+
# function $_f(maps::Tuple{Vararg{LinearMap}}) # length(maps) >= 2
3434
# if maps[1] isa UniformScalingMap{<:RealOrComplex}
3535
# return $f(maps[1]) && $_f(Base.tail(maps))
3636
# elseif maps[end] isa UniformScalingMap{<:RealOrComplex}

0 commit comments

Comments
 (0)