Show
Ignore:
Timestamp:
05/27/10 23:07:49 (14 years ago)
Author:
smidl
Message:

Flatten has an extra argument

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/estim/arx.cpp

    r1009 r1013  
    7272} 
    7373 
    74 void ARX::flatten ( const BMEF* B ) { 
     74void ARX::flatten ( const BMEF* B , double weight =1.0) { 
    7575        const ARX* A = dynamic_cast<const ARX*> ( B ); 
    7676        // nu should be equal to B.nu 
    77         est.pow ( A->posterior()._nu() / posterior()._nu() ); 
     77        est.pow ( A->posterior()._nu() / posterior()._nu() *weight); 
    7878        if ( evalll ) { 
    7979                last_lognc = est.lognc();