X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=nmdscommand.cpp;h=e2a3712a410738b0396884accc41bdd555caa735;hb=731d19a6eaf81768ed35e4be25fbac5686a2a7a0;hp=1d936d458d2edb69e6d49f51d8a79171389ea544;hpb=6f6cc4061459b264b0933111d90674ad7e4b0ecb;p=mothur.git diff --git a/nmdscommand.cpp b/nmdscommand.cpp index 1d936d4..e2a3712 100644 --- a/nmdscommand.cpp +++ b/nmdscommand.cpp @@ -156,7 +156,7 @@ NMDSCommand::NMDSCommand(string option) { m->mothurConvert(temp, epsilon); if (mindim < 1) { m->mothurOut("mindim must be at least 1."); m->mothurOutEndLine(); abort = true; } - if (maxdim < mindim) { m->mothurOut("maxdim must be greater than mindim."); m->mothurOutEndLine(); abort = true; } + if (maxdim < mindim) { maxdim = mindim; } } }