From e6b0e50aac808646dfe0724095677df4be7aa840 Mon Sep 17 00:00:00 2001 From: Houtan Bastani Date: Fri, 17 Dec 2010 12:00:01 +0100 Subject: [PATCH] parallel: SingleCompThread bug fix --- preprocessor/ConfigFile.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/preprocessor/ConfigFile.cc b/preprocessor/ConfigFile.cc index 34972660e..c94983962 100644 --- a/preprocessor/ConfigFile.cc +++ b/preprocessor/ConfigFile.cc @@ -221,9 +221,9 @@ ConfigFile::getConfigFileInfo(const string ¶llel_config_file) else if (!tokenizedLine.front().compare("MatlabOctavePath")) matlabOctavePath = tokenizedLine.back(); else if (!tokenizedLine.front().compare("SingleCompThread")) - if (tokenizedLine.back().compare("true")) + if (tokenizedLine.back().compare("true") == 0) singleCompThread = true; - else if (tokenizedLine.back().compare("false")) + else if (tokenizedLine.back().compare("false") == 0) singleCompThread = false; else {