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/epdf_harness.cpp

    r458 r461  
    8080        mat smp = hepdf->sample_m(nsamples); 
    8181        int n = smp.cols(); 
    82         vec Emu = smp * ones(n) / n; 
    83         mat Er = (smp*smp.transpose())/n - outer_product(Emu,Emu); 
    84         CHECK_CLOSE_EX(mean, Emu, tolerance); 
    85         CHECK_CLOSE_EX(R, Er, tolerance); 
     82        vec emu = smp * ones(n) / n; 
     83        mat er = (smp * smp.T()) / n - outer_product(emu, emu); 
     84        CHECK_CLOSE_EX(mean, emu, tolerance); 
     85        CHECK_CLOSE_EX(R, er, tolerance); 
    8686    } 
    8787}