Show
Ignore:
Timestamp:
11/04/09 22:54:58 (15 years ago)
Author:
smidl
Message:

Making tutorial/userguide example work again (changes of mpdf and bayes)

Files:
1 modified

Legend:

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

    r685 r700  
    4848 */ 
    4949 
    50 #include "estim/arx.h" 
    51 #include "stat/emix.h" 
    52 #include "base/datasources.h" 
    53 #include "base/loggers.h" 
    54 #include "estim/particles.h" 
    55 #include "estim/kalman.h" 
     50#include <estim/arx.h> 
     51#include <stat/emix.h> 
     52#include <base/datasources.h> 
     53#include <base/loggers.h> 
     54#include <estim/particles.h> 
     55#include <estim/kalman.h> 
    5656 
    5757//#include "mex_datasource.h" 
     
    6161#ifdef MEX 
    6262#include <itpp/itmex.h> 
    63 #include "mex/mex_BM.h" 
    64 #include "mex/mex_logger.h" 
    65 #include "mex/mex_datasource.h" 
     63#include <mex/mex_BM.h> 
     64#include <mex/mex_logger.h> 
     65#include <mex/mex_datasource.h> 
    6666 
    6767void mexFunction ( int n_output, mxArray *output[], int n_input, const mxArray *input[] ) { 
     
    120120        Array<shared_ptr<BM> > Es; 
    121121        UI::get ( Es,Cfg, "estimators" ); 
    122         long Ndat=10; 
     122        int Ndat=10; 
    123123        if ( Cfg.exists ( "experiment" ) ) { 
    124                 if ( Cfg.lookupValue ( "experiment.ndat",Ndat ) ) { 
     124                if ( Cfg.getRoot().lookupValue ( "experiment.ndat",Ndat ) ) { 
    125125                        bdm_assert ( Ndat<=Ds->max_length(), "Data source has less data then required" ); 
    126126                };