Changeset 19078


Ignore:
Timestamp:
07/23/18 16:07:44 (6 years ago)
Author:
tbretz
Message:
Protection to fail against 'no data'
File:
1 edited

Legend:

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

    r19076 r19078  
    484484        cout << "Processed " << count << " events.\n" << endl;
    485485
     486    if (count==0)
     487    {
     488        if (verbose>0)
     489            cout << "Total execution time: " << Time().UnixTime()-start.UnixTime() << "s\n" << endl;
     490        return 0;
     491    }
     492
    486493    // -------------------------------------------------------------------------
    487494    // drop table if requested
Note: See TracChangeset for help on using the changeset viewer.