From c7e5b448017f074fe21adb12b868ac99cd912f48 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 --- ConfigFile.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ConfigFile.cc b/ConfigFile.cc index 34972660..c9498396 100644 --- a/ConfigFile.cc +++ b/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 {