Changeset 461 for library/tests/emix_test.cpp
- Timestamp:
- 07/31/09 13:06:49 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/tests/emix_test.cpp
r454 r461 1 #include "shared_ptr.h" 1 2 #include "stat/exp_family.h" 2 3 #include "stat/emix.h" 4 3 5 using namespace bdm; 4 6 … … 80 82 cout << "original empirical variance: " <<Er <<endl; 81 83 82 epdf* Mg = (epdf*)M2.marginal ( y);84 shared_ptr<epdf> Mg(dynamic_cast<epdf *>(M2.marginal(y))); 83 85 mpdf* Cn = (mpdf*)M2.condition ( x ); 84 86