Changeset 1012
- Timestamp:
- 05/27/10 23:07:41 (15 years ago)
- Files:
-
- 1 removed
- 3 modified
Legend:
- Unmodified
- Added
- Removed
-
applications/bdmtoolbox/mex/CMakeLists.txt
r1011 r1012 22 22 ## WRAPPERS 23 23 24 25 MEX(my_isobj)26 24 MEX(epdf_mean) 27 25 MEX(epdf_variance) -
applications/bdmtoolbox/mex/bm_bayes_batch.cpp
r1011 r1012 48 48 cond =mxArray2mat(input[2]); 49 49 } else{ 50 cond.set_size(0,yt.cols()) 50 cond.set_size(0,yt.cols()); 51 51 } 52 52 } -
library/bdm/stat/merger.cpp
r1009 r1012 222 222 //Re-estimate Mix 223 223 //Re-Initialize Mixture model 224 Mix.flatten ( &Mix_init );225 Mix.bayes_batch ( Smp_ex, empty_vec, w*Npoints );224 Mix.flatten ( &Mix_init , 1.0); 225 Mix.bayes_batch_weighted ( Smp_ex, empty_vec, w*Npoints ); 226 226 delete Mpred; 227 227 Mpred = Mix.epredictor ( ); // Allocation => must be deleted at the end!!