Changeset 767 for applications/pmsm

Show
Ignore:
Timestamp:
01/11/10 23:01:37 (14 years ago)
Author:
mido
Message:

a few details corrected

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • applications/pmsm/filters.h

    r706 r767  
    5656                PMSMlin ( MPFpmsm &p0 ) :p ( p0 ) {}; 
    5757                PMSMlin ( const PMSMlin &P0 ) : KalmanFull ( P0 ), p ( P0.p ), thm ( P0.thm ) {} 
    58                 BM* _copy_() const {return new PMSMlin ( *this );} 
     58                 
     59                PMSMlin* _copy() const { 
     60                        return new PMSMlin ( *this ); 
     61                } 
    5962 
    6063                void fillA() { 
     
    177180                                if ( ind ( i ) != i ) {//replace the current Bm by a new one 
    178181                                        delete BMs ( i ); 
    179                                         BMs ( i ) = BMs ( ind ( i ) )->_copy_(); //copy constructor 
     182                                        BMs ( i ) = BMs ( ind ( i ) )->_copy(); //copy constructor 
    180183                                } 
    181184                        };