Skip to content

Commit

Permalink
Update Sampling.jl
Browse files Browse the repository at this point in the history
Simplified return statement
  • Loading branch information
marcoq authored Jul 29, 2021
1 parent 00529c5 commit 096f369
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Sampling.jl
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,6 @@ function sample(n,lb,ub,section_sampler::SectionSample)
out_as_vec[y,xi] = new_samples[y][xi]
end
end
out = [Tuple(out_as_vec[y,:]) for y in 1:size(out_as_vec,1)]
return out
[Tuple(out_as_vec[y,:]) for y in 1:size(out_as_vec,1)]
end
end

0 comments on commit 096f369

Please sign in to comment.