From 2a1b3d95377f9b52ba1ec019d836e98b4fed323e Mon Sep 17 00:00:00 2001 From: Pat Schloss Date: Fri, 3 Feb 2012 11:16:33 -0500 Subject: [PATCH] upped the optimization code for debugging from -O0 to -O3 and fixed the sigma problem in shhh.seqs --- Mothur.xcodeproj/project.pbxproj | 2 +- shhhseqscommand.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Mothur.xcodeproj/project.pbxproj b/Mothur.xcodeproj/project.pbxproj index 545f7b3..df21610 100644 --- a/Mothur.xcodeproj/project.pbxproj +++ b/Mothur.xcodeproj/project.pbxproj @@ -2291,7 +2291,7 @@ 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; diff --git a/shhhseqscommand.cpp b/shhhseqscommand.cpp index 518e78d..7250419 100644 --- a/shhhseqscommand.cpp +++ b/shhhseqscommand.cpp @@ -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); -- 2.39.2