Changeset 871 for library/bdm/base

Show
Ignore:
Timestamp:
03/19/10 11:23:05 (14 years ago)
Author:
mido
Message:

adaptation of /applications to new version of LOG_LEVEL
also, a cosmetic change made in enumerations: logub -> logubound, loglb -> loglbound

Location:
library/bdm/base
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/base/bdmbase.cpp

    r870 r871  
    470470                        logrec->ids ( 0 ) = logrec->L.add_vector ( r, prefix + logrec->L.prefix_sep() + "mean" ); 
    471471                } 
    472                 if ( log_level[loglb]  ) { 
     472                if ( log_level[loglbound]  ) { 
    473473                        logrec->ids ( 1 ) = logrec->L.add_vector ( r, prefix + logrec->L.prefix_sep() + "lb" ); 
    474474                }        
    475                 if ( log_level[logub]  ) { 
     475                if ( log_level[logubound]  ) { 
    476476                        logrec->ids ( 2 ) = logrec->L.add_vector ( r, prefix + logrec->L.prefix_sep() + "ub" ); 
    477477                } 
     
    487487                        logrec->L.log_vector ( logrec->ids ( 0 ), mean() ); 
    488488                } 
    489                 if ( log_level[loglb] || log_level[logub] ) { 
     489                if ( log_level[loglbound] || log_level[logubound] ) { 
    490490                                vec lb; 
    491491                                vec ub; 
    492492                                qbounds ( lb, ub ); 
    493                                 if (log_level[loglb]) 
     493                                if (log_level[loglbound]) 
    494494                                        logrec->L.log_vector ( logrec->ids ( 1 ), lb ); 
    495                                 if (log_level[logub]) 
     495                                if (log_level[logubound]) 
    496496                                        logrec->L.log_vector ( logrec->ids ( 2 ), ub ); 
    497497                        } 
     
    564564         
    565565        if (log_level[logbounds]){ 
    566                 prior().log_level[epdf::loglb]=true; 
    567                 prior().log_level[epdf::logub]=true; 
     566                prior().log_level[epdf::loglbound]=true; 
     567                prior().log_level[epdf::logubound]=true; 
    568568        } 
    569569        if (log_level[logfull]){ 
  • library/bdm/base/bdmbase.h

    r870 r871  
    495495        //! TODO DOPLNIT         
    496496         
    497         //! \var log_level_enums loglb 
     497        //! \var log_level_enums loglbound 
    498498        //! TODO DOPLNIT 
    499499         
    500         //! \var log_level_enums logub 
     500        //! \var log_level_enums logubound 
    501501        //! TODO DOPLNIT 
    502502         
    503503        //! \var log_level_enums logfull 
    504504        //! TODO DOPLNIT 
    505         LOG_LEVEL(epdf,logmean,loglb,logub,logfull); 
     505        LOG_LEVEL(epdf,logmean,loglbound,logubound,logfull); 
    506506 
    507507public: 
     
    11711171                } else { 
    11721172                        if ( log_level[logbounds] ) { 
    1173                                 const_cast<epdf&> ( posterior() ).log_level[epdf::loglb] = true; 
     1173                                const_cast<epdf&> ( posterior() ).log_level[epdf::loglbound] = true; 
    11741174                        } else { 
    11751175                                const_cast<epdf&> ( posterior() ).log_level[epdf::logmean] = true;;