Changeset 203 for tests/testSmp.cpp

Show
Ignore:
Timestamp:
11/10/08 15:40:27 (16 years ago)
Author:
smidl
Message:

zmena syntaxe mepdf

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • tests/testSmp.cpp

    r201 r203  
    8080 
    8181        cout << "======= MEpdf ======== " << endl; 
    82         mepdf meMix(eMix); 
     82        mepdf meMix(&eMix); 
    8383         
    8484        Smp = meMix.samplecond(mu0,lik,N); 
     
    9090        mComs(0) = &mG; 
    9191        eN.set_mu(vec_2(0.0,0.0)); 
    92         mepdf mEnorm(eN); 
     92        mepdf mEnorm(&eN); 
    9393        mComs(1) = &mEnorm; 
    9494        mMix.set_parameters(vec_2(0.5,0.5),mComs); 
     
    103103        //create array  
    104104        Array<mpdf*> A(2); 
    105         mepdf meN(eN); 
    106         mepdf meG(eGy); 
     105        mepdf meN(&eN); 
     106        mepdf meG(&eGy); 
    107107        A(0) = &meN; 
    108108        A(1) = &meG;