Changeset 741 for library/bdm/estim

Show
Ignore:
Timestamp:
11/26/09 22:46:01 (15 years ago)
Author:
smidl
Message:

Stress tests are passing now. Missing validate calls are filled...

Location:
library/bdm/estim
Files:
2 modified

Legend:

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

    r738 r741  
    1212 
    1313        dyad.set_subvector ( 0, yt ); 
    14         dyad.set_subvector ( dimy, cond ); 
     14        if (cond.length()>0) 
     15                dyad.set_subvector ( dimy, cond ); 
    1516        // possible "1" is there from the beginning 
    1617 
  • library/bdm/estim/mixtures.h

    r737 r741  
    7777                        Coms ( i ) = ( BMEF* ) Coms0 ( i )->_copy_(); 
    7878                } 
     79                weights.set_parameters(alpha0); 
     80                weights.validate(); 
    7981                build_est(); 
    8082        }