Show
Ignore:
Timestamp:
06/10/10 21:54:57 (14 years ago)
Author:
smidl
Message:

Changes in merger + change in loading ARX

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • applications/bdmtoolbox/mex/merger.cpp

    r801 r1079  
    5959        Array<shared_ptr<pdf> >  Sources; 
    6060        UI::get(Sources, Cfg, "Sources", UI::compulsory); 
    61         shared_ptr<merger_base> Merger = UI::build<merger_base> ( Cfg, "Merger" ); 
     61        shared_ptr<MergerDiscrete> Merger = UI::build<MergerDiscrete> ( Cfg, "Merger" ); 
    6262 
    6363        // Support 
     
    8282        for ( int i = 0;i < Sources.length();i++ ) { 
    8383                datalink_m2e dl; 
    84                 dl.set_connection ( Sources ( i )->_rv(), Sources ( i )->_rvc(), Merger->_rv() ); 
     84                dl.set_connection ( Sources ( i )->_rv(), Sources ( i )->_rvc(), Merger->merger()._rv() ); 
    8585 
    8686                vec ll ( Merger->_Smp()._samples().length() ); 
     
    102102                vec ll ( Merger->_Smp()._samples().length() ); 
    103103                for ( int j = 0; j < Merger->_Smp()._samples().length(); j++ ) { 
    104                         ll ( j ) = Merger->evallog ( Merger->_Smp()._samples() ( j ) ); 
     104                        ll ( j ) = MerMix->merger()._w ()(j); 
    105105                } 
    106106