diff --git a/l1/5.jl b/l1/5.jl index 879724e..d716a78 100755 --- a/l1/5.jl +++ b/l1/5.jl @@ -95,7 +95,7 @@ according to their absolute values. function sumvectorsincreasing(x::Vector{T}, y::Vector{T})::T where T <: AbstractFloat s::Vector{T} = zeros(T, length(x)) - for i::Int in 1:(length(x)) + for i::Int in 1:(length(x)) s[i] = x[i] * y[i] end