This commit is contained in:
jacekpoz 2024-11-08 11:01:17 +01:00
parent a11822205c
commit 2869ca589a
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8

View file

@ -95,7 +95,7 @@ according to their absolute values.
function sumvectorsincreasing(x::Vector{T}, y::Vector{T})::T where T <: AbstractFloat function sumvectorsincreasing(x::Vector{T}, y::Vector{T})::T where T <: AbstractFloat
s::Vector{T} = zeros(T, length(x)) 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] s[i] = x[i] * y[i]
end end