Commit e6b0e50a authored by Houtan Bastani's avatar Houtan Bastani

parallel: SingleCompThread bug fix

parent aa58f7bd
......@@ -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
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment