Changeset 13800 for trunk/FACT++/src


Ignore:
Timestamp:
05/21/12 09:53:53 (12 years ago)
Author:
tbretz
Message:
Some cosmetics.
File:
1 edited

Legend:

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

    r13799 r13800  
    269269        ostringstream out;
    270270        out << setprecision(2);
    271         out << (visible?"visible ":"") << disk << "% [" << dt.str().substr(0,5) << arr << "]";
     271        out << (visible?"visible ":"") << (disk<0.1?0:disk) << "% [" << dt.str().substr(0,5) << arr << "]";
    272272
    273273        description = out.str();
     
    12191219        rms = sqrt(rms/num-avg*avg);
    12201220
    1221             fFscControlTemperatureHist.push_back(avg-fMagicWeatherHist[kTemp].back());
     1221        fFscControlTemperatureHist.push_back(avg-fMagicWeatherHist[kTemp].back());
    12221222        if (fFscControlTemperatureHist.size()>300)
    12231223            fFscControlTemperatureHist.pop_front();
Note: See TracChangeset for help on using the changeset viewer.