Skip to content

Commit

Permalink
remove the TODO since it doesnt improve performance at all
Browse files Browse the repository at this point in the history
  • Loading branch information
warisa-r committed Jul 7, 2024
1 parent 2174070 commit 1e8fd49
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/fitting.jl
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ function fit_shock_cluster(cluster)
return atan.(y .- y_0, x .- x_0)
end

#TODO: Instead of this kind of maximum finding, store all results in an array and use a parallelizable sorting algorithm
for (i, model) in enumerate(models)
p0 = p0s[i]
fit = curve_fit(model, xy, zeros(length(cluster[:, 1])), p0)
Expand Down

0 comments on commit 1e8fd49

Please sign in to comment.