Show
Ignore:
Timestamp:
03/29/10 23:01:19 (14 years ago)
Author:
smidl
Message:

bdmtoolbox + arx

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/design/arx_ctrl.h

    r763 r883  
    6666                        state ( state.length() - 1 ) = 1; 
    6767                } 
    68                 return lq.ctrlaction ( state, cond.right ( Stsp->_B().cols() ) ); 
     68                vec tmp=lq.ctrlaction ( state, cond.right ( Stsp->_B().cols() ) ); 
     69                if (!isfinite(sum(tmp))) { 
     70                        cout << "infinite ctrl action"; 
     71                } 
     72                return tmp; 
    6973        } 
    7074        //!