]> git.donarmstrong.com Git - mothur.git/blobdiff - errorchecking.cpp
working on readtree
[mothur.git] / errorchecking.cpp
index ff94c8f4f765a8e0041604416e3b6807b423c05a..b76542aec7907c0cc3ef80b896c5308985c1c73d 100644 (file)
@@ -367,8 +367,8 @@ bool ErrorCheck::checkInput(string input) {
                }
                
                //are you trying to cluster before you have read something                      
-               if ((commandName == "cluster") && (globaldata->getSparseMatrix() == NULL) ||
-                       (commandName == "cluster") && (globaldata->getListVector() == NULL)) {
+               if (((commandName == "cluster") && (globaldata->getSparseMatrix() == NULL)) ||
+                       ((commandName == "cluster") && (globaldata->getListVector() == NULL))) {
                                cout << "Before you use the cluster command, you first need to read in a distance matrix." << endl; 
                                errorFree = false;
                }