We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$sample(0) should return an empty design, but Sampler1DRfun returns a design with one NA-valued row:
$sample(0)
Sampler1DRfun
Sampler1DRfun$new(param = ParamDbl$new("x", 0, 10), rfun = function(n) numeric(0))$sample(0) #> <Design> with 1 rows: #> x #> 1: NA
Expected is what other samplers do:
Sampler1DUnif$new(param = ParamDbl$new("x", 0, 10))$sample(0) #> <Design> with 0 rows: #> Empty data.table (0 rows and 1 cols): x
The text was updated successfully, but these errors were encountered:
618aa6d
No branches or pull requests
$sample(0)
should return an empty design, butSampler1DRfun
returns a design with one NA-valued row:Expected is what other samplers do:
The text was updated successfully, but these errors were encountered: