]> git.donarmstrong.com Git - mothur.git/blobdiff - distancecommand.cpp
fixed some bugs
[mothur.git] / distancecommand.cpp
index 1bc16f34bc231147a3610a894ad3ad04c2d49bed..fbec46c80fb35a1c97889d47ea61e8a4e9f5e686 100644 (file)
@@ -25,7 +25,7 @@ DistanceCommand::DistanceCommand(){
                convert(globaldata->getCutOff(), cutoff);
                
                int i;
-               if (countends == "T") {
+               if (isTrue(countends) == true) {
                        for (i=0; i<globaldata->Estimators.size(); i++) {
                                if (validCalculator->isValidCalculator("distance", globaldata->Estimators[i]) == true) { 
                                        if (globaldata->Estimators[i] == "nogaps") {