Show
Ignore:
Timestamp:
08/19/09 16:54:24 (15 years ago)
Author:
vbarta
Message:

using own error macros (basically copied from IT++, but never aborting)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/design/ctrlbase.cpp

    r508 r565  
    88        dimu = B0.cols(); 
    99 
    10         it_assert_debug ( A0.cols() == dimx, "LQG: A is not square" ); 
    11         it_assert_debug ( B0.rows() == dimx, "LQG: B is not compatible" ); 
    12         it_assert_debug ( C0.cols() == dimx, "LQG: C is not square" ); 
     10        bdm_assert_debug ( A0.cols() == dimx, "LQG: A is not square" ); 
     11        bdm_assert_debug ( B0.rows() == dimx, "LQG: B is not compatible" ); 
     12        bdm_assert_debug ( C0.cols() == dimx, "LQG: C is not square" ); 
    1313 
    1414        A=A0; 
     
    2020 
    2121void LQG::set_control_parameters(const mat &Qy0, const mat &Qu0, const vec y_req0, int horizon0){ 
    22         it_assert_debug ( Qy0.cols() == dimy, "LQG: wrong dimensions of Qy " ); 
    23         it_assert_debug ( Qu0.cols() == dimu, "LQG: wrong dimensions of Qu " ); 
    24         it_assert_debug ( y_req0.length() == dimy, "LQG: wrong dimensions of y_req " ); 
     22        bdm_assert_debug ( Qy0.cols() == dimy, "LQG: wrong dimensions of Qy " ); 
     23        bdm_assert_debug ( Qu0.cols() == dimu, "LQG: wrong dimensions of Qu " ); 
     24        bdm_assert_debug ( y_req0.length() == dimy, "LQG: wrong dimensions of y_req " ); 
    2525 
    2626        Qy=Qy0;