]> git.donarmstrong.com Git - mothur.git/commitdiff
upped the optimization code for debugging from -O0 to -O3 and fixed the sigma problem...
authorPat Schloss <pschloss@umich.edu>
Fri, 3 Feb 2012 16:16:33 +0000 (11:16 -0500)
committerPat Schloss <pschloss@umich.edu>
Fri, 3 Feb 2012 16:16:33 +0000 (11:16 -0500)
Mothur.xcodeproj/project.pbxproj
shhhseqscommand.cpp

index 545f7b3a092c3758bdbe30e11722cbf3202e123f..df21610099f7d7de8642c1beddeba3f00f90dca9 100644 (file)
                                GCC_DYNAMIC_NO_PIC = NO;
                                GCC_ENABLE_FIX_AND_CONTINUE = YES;
                                GCC_MODEL_TUNING = G5;
-                               GCC_OPTIMIZATION_LEVEL = 0;
+                               GCC_OPTIMIZATION_LEVEL = 3;
                                INSTALL_PATH = /usr/local/bin;
                                PRODUCT_NAME = Mothur;
                                SDKROOT = macosx10.6;
index 518e78d6386521dcb4ef57700c1ffb903ae02a13..72504196039c9f337f8051ecdf54a4af1eed5c90 100644 (file)
@@ -161,7 +161,8 @@ ShhhSeqsCommand::ShhhSeqsCommand(string option) {
                        
                        string temp     = validParameter.validFile(parameters, "sigma", false);         if(temp == "not found"){        temp = "0.01"; }
                        m->mothurConvert(temp, sigma); 
-                       
+                       sigma = 1/sigma;
+            
                        temp = validParameter.validFile(parameters, "processors", false);       if (temp == "not found"){       temp = m->getProcessors();      }
                        m->setProcessors(temp);
                        m->mothurConvert(temp, processors);