diff --git a/src/seed.jl b/src/seed.jl index b9cda73..e042db6 100644 --- a/src/seed.jl +++ b/src/seed.jl @@ -19,7 +19,11 @@ function seed!( ) max_sites = prod(size(uncertainty)) - max_sites < sampler.numpoints && throw(TooManySites(sampler.numpoints, max_sites)) + max_sites < sampler.numpoints && throw( + TooManySites( + "Cannot select $(sampler.numpoints) sampling sites from $max_sites possible locations.", + ), + ) return _generate!(coords, sampler, uncertainty) end