hydra-eval-jobs: Use function argument default values
[?]
Mar 29, 2013, 12:14 AM
5DYPEBSIG2F2DY44Z52YQWDL6N4G4TDUCINMFAIA3G7PTEOPSAZQCDependencies
- [2]
HJYRK37A* Revert r27114, it seems to break stuff. - [3]
WWEGP5ET* Use default values of job function arguments if they're not - [4]
KD5237CU* eval-jobs now efficiently evaluates all Hydra jobs from a - [5]
AEKIREIH* Updated hydra_eval_jobs for the new evaluator. - [*]
4N5APGRG* Start of a helper tool to evaluate job expressions efficiently.
Change contents
- edit in src/c/hydra-eval-jobs.cc at line 54
if (a == argsLeft.end())throw TypeError(format("job `%1%' requires an argument named `%2%'")% attrPath % cur->name); - edit in src/c/hydra-eval-jobs.cc at line 56
if (a == argsLeft.end()) {if (!cur->def)throw TypeError(format("job `%1%' requires an argument named `%2%'")% attrPath % cur->name);tryJobAlts(state, doc, argsUsed, argsLeft, attrPath, fun, next, last, actualArgs);return;}