Skip to content

Commit

Permalink
corrections in benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
kdomino committed Jan 11, 2021
1 parent 78faeb3 commit 41bdd2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions benchmarks/comptime_leeuw_cums.jl
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function savecomptime(m::Int, t::Vector{Int}, n::Vector{Int})
fs = [cumulants_upto_p, cumulants]
compt = Dict{String, Any}()
for f in fs
fname = "$(f)"[11:end]
fname = "$(f)"
println(fname)
println("called function " , fname)
push!(compt, fname => comtimes(m, t, n, f))
Expand All @@ -62,7 +62,7 @@ function savecomptime(m::Int, t::Vector{Int}, n::Vector{Int})
push!(compt, "n" => n)
push!(compt, "m" => m)
push!(compt, "x" => "n")
push!(compt, "functions" => [["upto_p", "cumulants"]])
push!(compt, "functions" => [["cumulants_upto_p", "cumulants"]])
save(filename, compt)
end

Expand Down
2 changes: 1 addition & 1 deletion benchmarks/comptimes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function savecomptime(m::Int, t::Vector{Int}, n::Vector{Int})
fs = [moment, naivemoment, cumulants, naivecumulant]
compt = Dict{String, Any}()
for f in fs
fname = "$f"[11:end]
fname = "$(f)"
println("called function " , fname)
push!(compt, fname => comtimes(m, t, n, f))
end
Expand Down

0 comments on commit 41bdd2d

Please sign in to comment.