X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=nmdscommand.cpp;h=e2a3712a410738b0396884accc41bdd555caa735;hb=2c97dd48b8e27ee0a6a86c7a082f4c504c3357c6;hp=1d936d458d2edb69e6d49f51d8a79171389ea544;hpb=0ca63a8165baa0afa459e644ebe140ba496d5ba0;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; } } }