We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85a0724 commit 8a250cdCopy full SHA for 8a250cd
src/RescaledArray.jl
@@ -46,4 +46,4 @@ end
46
Base.size(arr::RescaledArray) = size(arr.normalized_value)
47
Base.size(arr::RescaledArray, i::Int) = size(arr.normalized_value, i)
48
49
-match_arraytype(::Type{<:RescaledArray{T, N}}, target::AbstractArray{T, N}) where {T, N} = rescale_array(target)
+match_arraytype(::Type{<:RescaledArray{T, N, AT}}, target::AbstractArray{T, N}) where {T, N, AT} = rescale_array(match_arraytype(AT, target))
0 commit comments