Changeset 19423 for trunk/FACT++


Ignore:
Timestamp:
01/07/19 21:41:44 (6 years ago)
Author:
Daniela 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.