@@ -184,7 +184,7 @@ AbstractArray{T,N}(A::ApplyArray{<:Any,N}) where {T,N} = ApplyArray{T,N}(A.f, ma
184
184
185
185
@inline axes (A:: ApplyArray ) = axes (Applied (A))
186
186
@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)... )
188
188
189
189
190
190
struct LazyArrayApplyStyle <: AbstractArrayApplyStyle end
@@ -305,4 +305,4 @@ getindex(A::ApplyMatrix{T,typeof(triu),<:Tuple{<:AbstractMatrix,<:Integer}}, k::
305
305
replace_in_print_matrix (A:: ApplyMatrix{<:Any,typeof(triu),<:Tuple{<:AbstractMatrix}} , i:: Integer , j:: Integer , s:: AbstractString ) =
306
306
j ≥ i ? replace_in_print_matrix (A. args[1 ], i, j, s) : replace_with_centered_mark (s)
307
307
replace_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