Changeset 604 for library/bdm/base/datasources.h
- Timestamp:
- 09/06/09 22:53:06 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/base/datasources.h
r603 r604 291 291 U.set_size ( Urv._dsize() ); 292 292 for ( int i = -1; i >= td; i-- ) { 293 drv.t ( -1 );293 drv.t_plus ( -1 ); 294 294 Drv.add ( drv ); //shift u1 295 295 } … … 308 308 L_ut = L.add ( Urv, "" ); 309 309 310 mat &A = model._A();311 mat R = model._R();310 const mat &A = model._A(); 311 const mat R = model._R(); 312 312 if ( opt_L_theta ) { 313 313 L_theta = L.add ( RV ( "{th }", vec_1 ( A.rows() * A.cols() ) ), "t" ); … … 322 322 L.logit ( L_ut, U ); 323 323 324 mat &A = model._A();325 mat R = model._R();324 const mat &A = model._A(); 325 const mat R = model._R(); 326 326 if ( opt_L_theta ) { 327 327 L.logit ( L_theta, vec ( A._data(), A.rows() *A.cols() ) );