Skip to content
Snippets Groups Projects
Verified Commit 7ca0e11b authored by Michiel Cottaar's avatar Michiel Cottaar
Browse files

Only use atol in check wether edge_times are the same

Ensures identical results across multiple repetition times
parent 41c9add0
No related branches found
No related tags found
No related merge requests found
...@@ -107,7 +107,7 @@ function edge_times(seq::BaseSequence) ...@@ -107,7 +107,7 @@ function edge_times(seq::BaseSequence)
end end
unique_res = Float64[res[1]] unique_res = Float64[res[1]]
for edge in res for edge in res
if !isapprox(edge, unique_res[end], rtol=1e-6, atol=1e-6) if !isapprox(edge, unique_res[end], atol=1e-6)
push!(unique_res, edge) push!(unique_res, edge)
end end
end end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment