Skip to content

Commit

Permalink
Merge branch 'master' into fix_warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnLangford authored Jan 15, 2019
2 parents 0d835d2 + 6dbb7e5 commit dadd8b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vowpalwabbit/parser.cc
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,8 @@ void enable_sources(vw& all, bool quiet, size_t passes)
if (all.opts_n_args.vm.count("json") || all.opts_n_args.vm.count("dsjson"))
{
// TODO: change to class with virtual method
if (all.audit)
// --invert_hash requires the audit parser version to save the extra information.
if (all.audit || all.hash_inv)
{
all.p->reader = &read_features_json<true>;
all.p->audit = true;
Expand Down

0 comments on commit dadd8b7

Please sign in to comment.