parallel: SingleCompThread bug fix

issue#70
Houtan Bastani 2010-12-17 12:00:01 +01:00
parent 7a26fe2ebd
commit c7e5b44801
1 changed files with 2 additions and 2 deletions

View File

@ -221,9 +221,9 @@ ConfigFile::getConfigFileInfo(const string &parallel_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
{