]> git.donarmstrong.com Git - mothur.git/blobdiff - summarysharedcommand.cpp
fixed summary.shared bug and set jumble default to 1.
[mothur.git] / summarysharedcommand.cpp
index 347ed0446c5e7c72cba1fac4dbab452b2992a606..139b74e762734957c95ccb659434e32068289162 100644 (file)
@@ -30,7 +30,7 @@ SummarySharedCommand::SummarySharedCommand(){
                for (i=0; i<globaldata->sharedSummaryEstimators.size(); i++) {
                        if (globaldata->sharedSummaryEstimators[i] == "sharedSobs") { 
                                sumCalculators.push_back(new SharedSobs());
-                       }else if (globaldata->sharedEstimators[i] == "sharedChao") { 
+                       }else if (globaldata->sharedSummaryEstimators[i] == "sharedChao") { 
                                sumCalculators.push_back(new SharedChao1());
                        }else if (globaldata->sharedSummaryEstimators[i] == "sharedAce") { 
                                sumCalculators.push_back(new SharedAce());