@@ -184,7 +184,7 @@ AbstractArray{T,N}(A::ApplyArray{<:Any,N}) where {T,N} = ApplyArray{T,N}(A.f, ma
184184
185185@inline axes (A:: ApplyArray ) = axes (Applied (A))
186186@inline size (A:: ApplyArray ) = map (length, axes (A))
187- @inline copy (A:: ApplyArray ) = ApplyArray (A. f, map (copy,A. args)... )
187+ @inline copy (A:: ApplyArray{T,N} ) where {T,N} = ApplyArray {T,N} (A. f, map (copy,A. args)... )
188188
189189
190190struct LazyArrayApplyStyle <: AbstractArrayApplyStyle end
@@ -305,4 +305,4 @@ getindex(A::ApplyMatrix{T,typeof(triu),<:Tuple{<:AbstractMatrix,<:Integer}}, k::
305305replace_in_print_matrix (A:: ApplyMatrix{<:Any,typeof(triu),<:Tuple{<:AbstractMatrix}} , i:: Integer , j:: Integer , s:: AbstractString ) =
306306 j ≥ i ? replace_in_print_matrix (A. args[1 ], i, j, s) : replace_with_centered_mark (s)
307307replace_in_print_matrix (A:: ApplyMatrix{<:Any,typeof(triu),<:Tuple{<:AbstractMatrix,<:Integer}} , i:: Integer , j:: Integer , s:: AbstractString ) =
308- j ≥ i+ A. args[2 ] ? replace_in_print_matrix (A. args[1 ], i, j, s) : replace_with_centered_mark (s)
308+ j ≥ i+ A. args[2 ] ? replace_in_print_matrix (A. args[1 ], i, j, s) : replace_with_centered_mark (s)
0 commit comments