X-Git-Url: https://git.donarmstrong.com/?p=mothur.git;a=blobdiff_plain;f=shen.cpp;h=dac12bd69e83fb635c5b1ab1433a776940332e8e;hp=0d515eb19487905608c341ddb536e82436a93938;hb=d1c97b8c04bb75faca1e76ffad60b37a4d789d3d;hpb=28d65de5f06f5b033109a3b8bbb6d3c4060914d3 diff --git a/shen.cpp b/shen.cpp index 0d515eb..dac12bd 100644 --- a/shen.cpp +++ b/shen.cpp @@ -26,14 +26,14 @@ 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); } }