Changeset 1012

Show
Ignore:
Timestamp:
05/27/10 23:07:41 (14 years ago)
Author:
smidl
Message:

cleanup

Files:
1 removed
3 modified

Legend:

Unmodified
Added
Removed
  • applications/bdmtoolbox/mex/CMakeLists.txt

    r1011 r1012  
    2222## WRAPPERS 
    2323 
    24  
    25 MEX(my_isobj) 
    2624MEX(epdf_mean) 
    2725MEX(epdf_variance) 
  • applications/bdmtoolbox/mex/bm_bayes_batch.cpp

    r1011 r1012  
    4848                                cond =mxArray2mat(input[2]); 
    4949                        } else{ 
    50                                 cond.set_size(0,yt.cols()) 
     50                                cond.set_size(0,yt.cols()); 
    5151                        } 
    5252                } 
  • library/bdm/stat/merger.cpp

    r1009 r1012  
    222222                //Re-estimate Mix 
    223223                //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 ); 
    226226                delete Mpred; 
    227227                Mpred = Mix.epredictor ( ); // Allocation => must be deleted at the end!!