Show
Ignore:
Timestamp:
08/14/09 09:03:02 (15 years ago)
Author:
vbarta
Message:

defined *_ptr wrappers of shared pointers

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/tests/mixtures_test.cpp

    r504 r529  
    5353        fsqmat V2 ( mat ( "2 -0.1; -0.1 2" ) ); 
    5454 
    55         shared_ptr<enorm<fsqmat> > C1 = new enorm<fsqmat>(); 
     55        enorm_fsqmat_ptr C1; 
    5656        C1->set_rv ( x ); 
    5757        C1->set_parameters ( m1, V1 ); 
    58         shared_ptr<enorm<fsqmat> > C2 = new enorm<fsqmat>(); 
     58        enorm_fsqmat_ptr C2; 
    5959        C2->set_rv ( x ); 
    6060        C2->set_parameters ( m2, V2 ); 
    6161 
    62         Array<shared_ptr<epdf> > Sim ( 2 ); 
     62        epdf_array Sim ( 2 ); 
    6363        Sim ( 0 ) = C1; 
    6464        Sim ( 1 ) = C2;