Changeset 12716


Ignore:
Timestamp:
12/11/11 16:35:05 (13 years ago)
Author:
tbretz
Message:
Make sure fSP always has a valid size.
File:
1 edited

Legend:

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

    r12648 r12716  
    134134        fStartTime = Time();
    135135
    136         fSP.resize(416);
    137136        fSP = valarray<double>(0., 416);
    138137
     
    741740        fDimDeviation("FEEDBACK/DEVIATION", "F:416;F:416",  ""),
    742741        fDimCalibration("FEEDBACK/CALIBRATION", "F:416;F:416",  ""),
     742        fSP(416),
    743743        fKp(0), fKi(0), fKd(0), fT(-1), fOutputEnabled(false)
    744744    {
     
    749749        // previous state but this might introduce some overhead of
    750750        // deletion and creation of threads and more.
     751
     752//        fSP.resize(416);
    751753
    752754        // State names
Note: See TracChangeset for help on using the changeset viewer.