Changeset 12488 for trunk/FACT++


Ignore:
Timestamp:
11/11/11 00:48:34 (13 years ago)
Author:
tbretz
Message:
Added a warning in case no rates.
File:
1 edited

Legend:

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

    r12457 r12488  
    261261        // If any is zero there is something wrong
    262262        if (mb==0 || db==0)
    263             return;
     263        {
     264            Warn("The median or the deviation of all board rates is zero... cannot calibrate.");
     265            return;
     266        }
    264267
    265268        double avg = 0;
Note: See TracChangeset for help on using the changeset viewer.