Show
Ignore:
Timestamp:
09/06/09 22:53:06 (15 years ago)
Author:
smidl
Message:

change of syntax of RV

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/base/datasources.h

    r603 r604  
    291291                        U.set_size ( Urv._dsize() ); 
    292292                        for ( int i = -1; i >= td; i-- ) { 
    293                                 drv.t ( -1 ); 
     293                                drv.t_plus ( -1 ); 
    294294                                Drv.add ( drv ); //shift u1 
    295295                        } 
     
    308308                        L_ut = L.add ( Urv, "" ); 
    309309 
    310                         mat &A = model._A(); 
    311                         mat R = model._R(); 
     310                        const mat &A = model._A(); 
     311                        const mat R = model._R(); 
    312312                        if ( opt_L_theta ) { 
    313313                                L_theta = L.add ( RV ( "{th }", vec_1 ( A.rows() * A.cols() ) ), "t" ); 
     
    322322                        L.logit ( L_ut, U ); 
    323323 
    324                         mat &A = model._A(); 
    325                         mat R = model._R(); 
     324                        const mat &A = model._A(); 
     325                        const mat R = model._R(); 
    326326                        if ( opt_L_theta ) { 
    327327                                L.logit ( L_theta, vec ( A._data(), A.rows() *A.cols() ) );