Show
Ignore:
Timestamp:
09/18/09 00:17:16 (15 years ago)
Author:
smidl
Message:

doc estimation + ARX corrections

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/estim/arx.cpp

    r625 r631  
    218218                BM::set_options(opt); 
    219219        } 
    220         if (!UI::get(have_constant, set, "constant", UI::optional)){ 
     220        int constant; 
     221        if (!UI::get(constant, set, "constant", UI::optional)){ 
    221222                have_constant=true; 
     223        } else { 
     224                have_constant=constant>0; 
    222225        } 
    223226        if (have_constant) {rgrlen++;_dt=ones(rgrlen+ylen);}