Show
Ignore:
Timestamp:
05/27/10 23:07:23 (14 years ago)
Author:
smidl
Message:

checks in arx

Files:
1 modified

Legend:

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

    r1002 r1010  
    3737         
    3838        if ((A1) && (Apri)){     
    39                  
     39                bdm_assert(A1->posterior()._dimx()==1, "First ARX is not one-dimensional"); 
     40                bdm_assert(Apri->posterior()._dimx()==1, "Prior ARX is not one-dimensional"); 
     41                bdm_assert(A1->_rgr().length()==A1->_rgrlen(), "First ARX is not properly described: rgr="+A1->_rgr().to_string()+ 
     42                " expected scalar descriptors of total length "+num2str(A1->_rgrlen())); 
    4043                //if ( n_output<1 ) mexErrMsgTxt ( "No output - nothing to do!" ); 
    4144                ivec strnew=A1->structure_est_LT(Apri->posterior());