Show
Ignore:
Timestamp:
05/18/10 22:28:15 (14 years ago)
Author:
smidl
Message:

Correction to particle filters

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/estim/particles.h

    r950 r951  
    104104                } 
    105105                void validate(){ 
    106                         est_emp.set_point(zeros(par->dimension())); 
     106                        if (est_emp.point.length()!=par->dimension()) 
     107                                est_emp.set_point(zeros(par->dimension())); 
    107108                        est.validate(); 
    108109