X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=errorchecking.cpp;h=d827929fd94290dbfb302d0fe36e76f4982874a0;hb=1c2f1171eee8879de9dbe03a8a9d9093fc6a1f95;hp=b76542aec7907c0cc3ef80b896c5308985c1c73d;hpb=9651e8e7172d86707b34af15e95ec60ad4c3c3f9;p=mothur.git diff --git a/errorchecking.cpp b/errorchecking.cpp index b76542a..d827929 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->gSparseMatrix == NULL)) || + ((commandName == "cluster") && (globaldata->gListVector == NULL))) { cout << "Before you use the cluster command, you first need to read in a distance matrix." << endl; errorFree = false; }