I added some debugging around that area:
if(parameter.compare("precision") == 0) {
    double logNum = log10((double)pVal);
    double diff = (double)((int)logNum - logNum);
    if(diff != 0) {
        m->mothurOut("The precision parameter can only take powers of 10 as a 
value (e.g. 10,1000,1000, etc.)\n");
        m->mothurOut("diff: " + toString(diff) + "logNum: " + toString(logNum) 
+ "pVal: " + toString(pVal) + "\n");
        return false;
    }
}

And this is the output in bileto/i386, where it fails too:
mothur > cluster(method=furthest, column=HA.unique.dist, name=HA.names, 
cutoff=0.01, precision=1000)
The precision parameter can only take powers of 10 as a value (e.g. 
10,1000,1000, etc.)
diff: -2.1684e-19logNum: 3pVal: 1000

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1821762

Title:
  Fix regression (vs 1.66.0 and older) to allow argc == 0 for
  command_line parser

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/boost1.67/+bug/1821762/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to