Show
Ignore:
Timestamp:
07/31/09 13:06:49 (15 years ago)
Author:
vbarta
Message:

mpdf (& its dependencies) reformat: now using shared_ptr, moved virtual method bodies to .cpp

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/tests/emix_test.cpp

    r454 r461  
     1#include "shared_ptr.h" 
    12#include "stat/exp_family.h" 
    23#include "stat/emix.h" 
     4 
    35using namespace bdm; 
    46 
     
    8082        cout << "original empirical variance: " <<Er <<endl; 
    8183 
    82         epdf* Mg = (epdf*)M2.marginal ( y ); 
     84        shared_ptr<epdf> Mg(dynamic_cast<epdf *>(M2.marginal(y))); 
    8385        mpdf* Cn = (mpdf*)M2.condition ( x ); 
    8486