Show
Ignore:
Timestamp:
03/12/10 13:34:17 (14 years ago)
Author:
smidl
Message:

Correction to new log_level -- FIXME - wrong parsing of array<string> in LOG_LEVEL

Location:
applications/bdmtoolbox
Files:
2 modified

Legend:

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

    r811 r863  
    149149                        Ename="Est"+num2str ( i ); 
    150150                } 
    151                 if (Es(i)->posterior()._log_level()<1){ 
    152                         const_cast<epdf&>(Es (i) ->posterior()).set_log_level (1); 
    153                 } 
    154                  
     151                if (!Es(i)->posterior().log_level[epdf::logmean]){ 
     152                        const_cast<epdf&>(Es (i) ->posterior()).log_level[epdf::logmean] =true; 
     153                }                
    155154                Es ( i )->log_register ( *L,Ename ); // estimate 
    156155        } 
  • applications/bdmtoolbox/tutorial/userguide/arx_basic_example.m

    r706 r863  
    1111A1.rv = y; 
    1212A1.rgr = RVtimes([y,u],[-3,-1]) ; % correct structure is {y,y} 
    13 A1.options ='logbounds,logll'; 
     13A1.log_level ={'bounds','likelihood,'}; 
    1414 
    1515M=estimator(DS,{A1});