X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=shen.cpp;h=dac12bd69e83fb635c5b1ab1433a776940332e8e;hp=2be566caa5232006cc073e9d59798dbbea43915b;hb=050a3ff02473a3d4c0980964e1a9ebe52e55d6b8;hpb=510b1cfc25cd79391d6973ca20c5ec25fb1bb3b2 diff --git a/shen.cpp b/shen.cpp index 2be566c..dac12bd 100644 --- a/shen.cpp +++ b/shen.cpp @@ -26,17 +26,17 @@ EstOutput Shen::getValues(SAbundVector* rank){ double f0 = ace[0]-rank->getNumBins(); - data[0] = f0 * (1 - pow(1 - f1/n/f0, m)); + data[0] = f0 * (1 - pow(1 - f1/n/f0, f)); delete calc; return data; } catch(exception& e) { - errorOut(e, "Shen", "getValues"); + m->errorOut(e, "Shen", "getValues"); exit(1); } -}; +} /***********************************************************************/