Changeset 423

Show
Ignore:
Timestamp:
07/21/09 15:22:56 (15 years ago)
Author:
vbarta
Message:

fixed merger_base constructor to initialize debug fields (still not all fields, though...)

Location:
library/bdm/stat
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/stat/merger.cpp

    r404 r423  
    55namespace bdm 
    66{ 
     7 
     8        merger_base::merger_base(const Array<mpdf*> &S, bool own) { 
     9            DBG = false; 
     10            dbg_file = NULL; 
     11            set_sources(S, own); 
     12        } 
     13 
    714        vec merger_base::merge_points ( mat &lW ) { 
    815                int nu=lW.rows(); 
  • library/bdm/stat/merger.h

    r404 r423  
    8080 
    8181                //!Empty constructor 
    82                 merger_base () : compositepdf() {DBG = false;dbg_file = NULL;}; 
     82                merger_base () : compositepdf() {DBG = false;dbg_file = NULL;} 
     83 
    8384                //!Constructor from sources 
    84                 merger_base (const Array<mpdf*> &S, bool own=false) {set_sources (S,own);}; 
     85                merger_base (const Array<mpdf*> &S, bool own=false); 
     86 
    8587                //! Function setting the main internal structures 
    8688                void set_sources (const Array<mpdf*> &Sources, bool own) {