Skip to content

Commit 096f369

Browse files
authored
Update Sampling.jl
Simplified return statement
1 parent 00529c5 commit 096f369

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Sampling.jl

+1-2
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,6 @@ function sample(n,lb,ub,section_sampler::SectionSample)
275275
out_as_vec[y,xi] = new_samples[y][xi]
276276
end
277277
end
278-
out = [Tuple(out_as_vec[y,:]) for y in 1:size(out_as_vec,1)]
279-
return out
278+
[Tuple(out_as_vec[y,:]) for y in 1:size(out_as_vec,1)]
280279
end
281280
end

0 commit comments

Comments
 (0)