]> git.donarmstrong.com Git - mothur.git/blobdiff - logsd.cpp
modified some calculators and other stuff - pds
[mothur.git] / logsd.cpp
index 7b63e5bf8c7fdd84b253e68e1b11aebbcd019527..14d2e442fa2bea0a6e153dc310b59d687b51b642 100644 (file)
--- a/logsd.cpp
+++ b/logsd.cpp
@@ -3,7 +3,7 @@
  *  Mothur
  *
  *  Created by Thomas Ryabin on 2/23/09.
- *  Copyright 2009 __MyCompanyName__. All rights reserved.
+ *  Copyright 2009 Schloss Lab UMASS Amherst. All rights reserved.
  *
  */
 
@@ -28,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;