Show
Ignore:
Timestamp:
03/29/10 23:01:49 (14 years ago)
Author:
smidl
Message:

epdf and emix now have _base classes

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/tests/testsuite/epdf_test.cpp

    r878 r886  
    3636        g1->set_rv ( b ); 
    3737         
    38         Array<const epdf*> coms ( 2 ); 
    39         coms ( 0 ) = g0.get(); 
    40         coms ( 1 ) = g1.get(); 
     38        Array<shared_ptr<epdf> > coms ( 2 ); 
     39        coms ( 0 ) = g0; 
     40        coms ( 1 ) = g1; 
    4141         
    4242        eprod p; 
     
    4444        // pointers in the array to outlast the eprod instance... 
    4545        p.set_parameters ( coms ); 
     46        p.validate(); 
    4647         
    4748        CHECK_EQUAL ( vec ( "1 10 10" ), p.mean() );