diff options
author | John Langford <jl@hunch.net> | 2014-01-21 21:51:04 +0400 |
---|---|---|
committer | John Langford <jl@hunch.net> | 2014-01-21 21:51:04 +0400 |
commit | a0fcc75614751b4bb3e4235a218198646cf399d9 (patch) | |
tree | d3b0249dab5761ce9b0c659ad0a32522eedc9306 /vowpalwabbit/parse_args.cc | |
parent | 8b6fe928a1c8595e158a69bcd52490d874b38297 (diff) |
changed pointers to references
Diffstat (limited to 'vowpalwabbit/parse_args.cc')
-rw-r--r-- | vowpalwabbit/parse_args.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vowpalwabbit/parse_args.cc b/vowpalwabbit/parse_args.cc index 73ac0d2b..fdf0681d 100644 --- a/vowpalwabbit/parse_args.cc +++ b/vowpalwabbit/parse_args.cc @@ -853,6 +853,9 @@ vw* parse_args(int argc, char *argv[]) if(vm.count("autolink") || vm_file.count("autolink") ) all->l = ALINK::setup(*all, to_pass_further, vm, vm_file); + if (vm.count("lrq") || vm_file.count("lrq")) + all->l = LRQ::setup(*all, to_pass_further, vm, vm_file); + all->l = Scorer::setup(*all, to_pass_further, vm, vm_file); if(vm.count("top") || vm_file.count("top") ) @@ -861,9 +864,6 @@ vw* parse_args(int argc, char *argv[]) if (vm.count("binary") || vm_file.count("binary")) all->l = BINARY::setup(*all, to_pass_further, vm, vm_file); - if (vm.count("lrq") || vm_file.count("lrq")) - all->l = LRQ::setup(*all, to_pass_further, vm, vm_file); - if(vm.count("oaa") || vm_file.count("oaa") ) { if (got_mc) { cerr << "error: cannot specify multiple MC learners" << endl; throw exception(); } |