Skip to content
Snippets Groups Projects
Commit 89321a97 authored by Stephan Hilb's avatar Stephan Hilb
Browse files

add eps to avoid hiding datapoints in loglog plot

parent bcda4b86
No related branches found
No related tags found
No related merge requests found
......@@ -190,6 +190,8 @@ function compare_algs(prob; τ, M, overlap, maxiters, ninner)
for x in names(df)
contains(x, r"_energy$") || continue
df[!,Symbol(x)] .-= energymin
# we do this to avoid hiding datapoints of minimal energy in a loglog plot
df[!,Symbol(x)] .+= eps()
end
return df, states, energymin
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment