julia> using ColorVectorSpace
julia> dUInt8 = rand(UInt8,3,3,3);
julia> typeof(sum(dUInt8, 3))
Array{UInt64,3}
julia> dGreyUInt8 = convert(Array{ColorTypes.Gray{FixedPointNumbers.UFixed{UInt8,8}},3}, dUInt8);
julia> typeof(dGreyUInt8)
Array{ColorTypes.Gray{FixedPointNumbers.UFixed{UInt8,8}},3}
julia> typeof(sum(dGreyUInt8, 3))
Array{ColorTypes.Gray{FixedPointNumbers.UFixed{UInt8,8}},3}
suming over anArray{UInt8}automatically promotes toUInt64to prevent overflow. yet doing so over anArray{Gray{UFixed{UInt8}}}does not. would be nice if these behaved similarly.