Changeset 281 for bdm/stat

Show
Ignore:
Timestamp:
02/24/09 14:13:23 (15 years ago)
Author:
smidl
Message:

new version of mpf_test for TR2245

Location:
bdm/stat
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • bdm/stat/libBM.h

    r279 r281  
    606606        //! @{ 
    607607 
    608         BM () :ll ( 0 ),evalll ( false ) {}; 
     608        BM () :ll ( 0 ),evalll ( true) {}; 
    609609        BM ( const BM &B ) :  drv ( B.drv ), ll ( B.ll ), evalll ( B.evalll ) {} 
    610610        //! Copy function required in vectors, Arrays of BM etc. Have to be DELETED manually! 
  • bdm/stat/libEF.cpp

    r278 r281  
    270270void eEmp::set_parameters ( const vec &w0, const epdf* epdf0 ) { 
    271271        //it_assert_debug(rv==epdf0->rv(),"Wrong epdf0"); 
     272        dim = epdf0->dimension(); 
    272273        w=w0; 
    273274        w/=sum ( w0 );//renormalize 
  • bdm/stat/libEF.h

    r280 r281  
    690690        void set_samples ( const epdf* pdf0 ); 
    691691        //! Set sample 
    692         void set_n ( int n0, bool copy=true ) {w.set_size ( n0,copy );samples.set_size ( n0,copy );}; 
     692        void set_n ( int n0, bool copy=true ) {n=n0; w.set_size ( n0,copy );samples.set_size ( n0,copy );}; 
    693693        //! Potentially dangerous, use with care. 
    694694        vec& _w()  {return w;};