Changeset 599 for library/bdm/mex

Show
Ignore:
Timestamp:
09/03/09 03:08:09 (15 years ago)
Author:
miro
Message:

mexBM fix (?):
* added line BM::fromSetting,
* estimator renamed from testBM to mexBM

Location:
library/bdm/mex
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/mex

    • Property svn:ignore set to
      .mex_parser.h.swp
  • library/bdm/mex/mex_BM.h

    r597 r599  
    5454 
    5555                void from_setting(const Setting &S)  { 
     56                        BM::from_setting(S); 
    5657                        name = (const char *) S["name"]; 
    5758                        UImxConfig conf(S); 
  • library/bdm/mex/mex_parser.h

    r593 r599  
    108108                        mexErrMsgTxt ( "Given mxArray is not a cell." ); 
    109109                }; 
    110                 for ( unsigned int i = 0; i < mxGetNumberOfElements ( mxarray ); i++ ) { 
     110                for ( unsigned int i = 0; i < (unsigned int) mxGetNumberOfElements ( mxarray ); i++ ) { 
    111111                        mxArray *value = mxGetCell ( mxarray, i ); 
    112112                        if ( mxIsChar ( value ) ) {