[mlpack-git] [mlpack/mlpack] PARAM_VECTOR_IN seems not to be working (#798)
Ivan Georgiev
notifications at github.com
Wed Oct 5 12:41:44 EDT 2016
Having a definition like this:
```
PARAM_VECTOR_IN(size_t, "ignore_dimensions", "The indices of dimensions to be ignored "
"on split attempts.", "n");
```
and passing parameters like `-n 0,2` produces an exception in `CLI::ParseCommandLine(argc, argv);` call. The output is this:
```
[FATAL]: Caught exception from parsing command line: the argument ('0, 2') for option '--ignore_dimensions' is invalid
libc++abi.dylib: terminating with uncaught exception of type std::runtime_error: fatal error; see Log::Fatal output
Program ended with exit code: 9
```
which is rather strange, because this is very close to the example of `PARAM_VECTOR_IN` usage given in the comment next to its declaration.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/issues/798
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20161005/11bb55f8/attachment.html>
More information about the mlpack-git
mailing list