Changeset 631 for applications/bdmtoolbox/mex
- Timestamp:
- 09/18/09 00:17:16 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
applications/bdmtoolbox/mex/estimator.cpp
r626 r631 157 157 Array<datalink_buffered*> Dls_buf (0); 158 158 for ( int i=0; i<Es.length(); i++ ) { 159 if (Es ( i )->_drv().mint()<0){ //delayed values are required 159 if (Es ( i )->_drv().mint()<0){ 160 //delayed values are required 161 162 //create delayed dl 163 int ith_buf=Dls_buf.size(); 164 Dls_buf.set_size( ith_buf + 1, true); 165 Dls_buf(ith_buf) = new datalink_buffered(); 160 166 //add dl to list of buffered DS 161 int ith_buf=Dls_buf.size();162 Dls_buf.set_size( ith_buf + 1);163 Dls_buf(ith_buf) = new datalink_buffered();164 167 Dls(i) = Dls_buf(ith_buf); 165 168 Dls(i)->set_connection ( Es ( i )->_drv(),Ds->_drv() ); //datalink between a datasource and estimator