From fae7af2ae3335c0db4bc4f048c3be00891a49d38 Mon Sep 17 00:00:00 2001 From: pmc4 <117096890+pmc4@users.noreply.github.com> Date: Thu, 1 Feb 2024 11:43:28 +0100 Subject: [PATCH] Fix bug in helper function. Because * There was an extra return keyword. --- src/helper_functions.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helper_functions.jl b/src/helper_functions.jl index 99a920b..633ae3b 100644 --- a/src/helper_functions.jl +++ b/src/helper_functions.jl @@ -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