Skip to content

Commit

Permalink
Fix bug in helper function.
Browse files Browse the repository at this point in the history
Because
* There was an extra return keyword.
  • Loading branch information
pmc4 committed Feb 1, 2024
1 parent 9b85825 commit fae7af2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/helper_functions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -131,5 +131,5 @@ function fill_zeros_bins(real_xs, xs, ys, atol; zero_threshold::Real = 0.0)
zero_index = real_ys .< zero_threshold
real_ys[zero_index] .= 0.0

return return hcat(real_xs,real_ys)
return hcat(real_xs,real_ys)
end

0 comments on commit fae7af2

Please sign in to comment.