Skip to content
New issue

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

generateDesignOfDefaults fails with vector params of undefined length. #184

Open
mb706 opened this issue Jun 26, 2017 · 0 comments
Open

Comments

@mb706
Copy link
Collaborator

mb706 commented Jun 26, 2017

Example:

> x = makeParamSet(makeIntegerVectorLearnerParam("test", default = c(0, 0, 1),
+   len = NA, lower = 0, upper = 1))
> generateDesignOfDefaults(x)
Error in rep(types, getParamLengths(par.set)) : invalid 'times' argument

This should probaby also work when default has length 0.

(FYI I don't need this personally, but thought it is good to know.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant