Changeset 19423


Ignore:
Timestamp:
Jan 7, 2019, 9:41:44 PM (5 months ago)
Author:
dorner
Message:
bugfix in file splitting
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/rootifysql.cc

    r19403 r19423  
    528528        throw runtime_error("Only splitting by --split-sequence or --split-quantile is allowed.");
    529529
    530     const size_t num_split = ::max(split_seq.size(), split_quant.size()+1);
     530    const size_t num_split = split_seq.size()+split_quant.size()==0 ? 0 :
     531        ::max(split_seq.size(), split_quant.size()+1);
    531532
    532533    map<size_t, size_t> split_lut;
Note: See TracChangeset for help on using the changeset viewer.