Commit 3bcaf35e authored by Javier's avatar Javier

naming issue

sum as variable
parent 86a85046
...@@ -101,11 +101,11 @@ dec_const_pcvc(corr::Corr, plat::Vector{Int64}, m::uwreal; pl::Bool=true, data:: ...@@ -101,11 +101,11 @@ dec_const_pcvc(corr::Corr, plat::Vector{Int64}, m::uwreal; pl::Bool=true, data::
#t0 #t0
function get_model(x, p, n) function get_model(x, p, n)
sum = 0.0 s = 0.0
for k = 1:n for k = 1:n
sum = sum .+ p[k] .* x.^(k-1) s = s .+ p[k] .* x.^(k-1)
end end
return sum return s
end end
@doc raw""" @doc raw"""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment