X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=logsd.cpp;h=14d2e442fa2bea0a6e153dc310b59d687b51b642;hb=e4827e0945cbda536064e5a345996b2a7dfcbb81;hp=94fa4590d79eeac44ee5b1019dc5fb2daf512001;hpb=eb1c88346fb246e95a6b38935b103f95e38b82ca;p=mothur.git diff --git a/logsd.cpp b/logsd.cpp index 94fa459..14d2e44 100644 --- a/logsd.cpp +++ b/logsd.cpp @@ -3,12 +3,11 @@ * Mothur * * Created by Thomas Ryabin on 2/23/09. - * Copyright 2009 __MyCompanyName__. All rights reserved. + * Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved. * */ #include "logsd.h" -#include "calculator.h" /***********************************************************************/ @@ -29,7 +28,7 @@ EstOutput LogSD::getValues(SAbundVector* rank){ SAbundVector rankw = SAbundVector(dvec, mr,nb,ns); SAbundVector *rank = &rankw;*/ - data.resize(2,0); + data.resize(3,0); int numInd = rank->getNumSeqs(); int numSpec = rank->getNumBins(); double snRatio = (double)numSpec/numInd;