diff --git a/src/pp/pp_poisson2.scad b/src/pp/pp_poisson2.scad index 56c10973..53865948 100644 --- a/src/pp/pp_poisson2.scad +++ b/src/pp/pp_poisson2.scad @@ -1,6 +1,6 @@ use <_impl/_pp_poisson2.scad> -function pp_poisson2(size, r, start, k = 30, seed = undef, history = false) = +function pp_poisson2(size, r, start = undef, k = 30, seed = undef, history = false) = let( sd = is_undef(seed) ? floor(rands(0, 1000, 1)[0]) : seed, s = _pp_poisson(sampling(size, r, start, k, sd), sd),