Changeset 883 for library/bdm

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

bdmtoolbox + arx

Location:
library/bdm
Files:
2 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        //! 
  • library/bdm/estim/arx.cpp

    r878 r883  
    216216void ARX::from_setting ( const Setting &set ) { 
    217217        BMEF::from_setting(set); 
     218         
    218219        shared_ptr<RV> yrv_ = UI::build<RV> ( set, "rv", UI::compulsory ); 
    219220        shared_ptr<RV> rrv = UI::build<RV> ( set, "rgr", UI::compulsory );