X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=errorchecking.cpp;h=b76542aec7907c0cc3ef80b896c5308985c1c73d;hb=8f92612d5a69f5245e63a20657e7d93519c0769e;hp=ff94c8f4f765a8e0041604416e3b6807b423c05a;hpb=813502505663a3d00555bf7633163432b643dd68;p=mothur.git diff --git a/errorchecking.cpp b/errorchecking.cpp index ff94c8f..b76542a 100644 --- a/errorchecking.cpp +++ b/errorchecking.cpp @@ -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; }