Show
Ignore:
Timestamp:
11/30/09 11:04:21 (14 years ago)
Author:
mido
Message:

mixef_init fills some data into mixef_init.out,
however, there are still some TODOs in this commit,
it is necessary to fill a few more bodies of the to_setting() method

Files:
1 modified

Legend:

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

    r741 r746  
    120120                return *est; 
    121121        } 
     122 
    122123        emix* epredictor() const; 
    123124        //! Flatten the density as if it was not estimated from the data 
     
    134135 
    135136        void to_setting ( Setting &set ) const { 
     137                BMEF::to_setting( set ); 
    136138                UI::save ( Coms, set, "Coms" ); 
    137                 Setting &wei = set.add ( "weights", Setting::TypeGroup ); 
    138                 weights.to_setting ( wei ); 
     139                UI::save ( &weights, set, "weights" ); 
    139140        } 
    140141}; 
     142UIREGISTER ( MixEF ); 
    141143 
    142144}