Changeset 348 for bdm/estim/libKF.cpp

Show
Ignore:
Timestamp:
05/27/09 21:37:51 (15 years ago)
Author:
smidl
Message:

compilation fixes

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • bdm/estim/libKF.cpp

    r332 r348  
    173173        dimy = phxu0->dimension(); 
    174174        dimu = pfxu0->_dimu(); 
    175         // set size of mu - just for constant terms of A and C  
    176         _mu=zeros(dimx); 
     175        // if mu is not set, set it to zeros, just for constant terms of A and C  
     176        if (_mu.length()!=dimx) _mu=zeros(dimx); 
    177177        A=zeros(dimx,dimx); 
    178178        C=zeros(dimy,dimx);