BUG: renumberMesh.C: reading bool from dictionary

This commit is contained in:
mattijs
2011-12-21 10:34:42 +00:00
parent 4993e94fd0
commit 5d4030b7f2

View File

@ -562,7 +562,7 @@ int main(int argc, char *argv[])
<< endl;
}
writeMaps = readLabel(renumberDict.lookup("writeMaps"));
renumberDict.lookup("writeMaps") >> writeMaps;
if (writeMaps)
{
Info<< "Writing renumber maps (new to old) to polyMesh." << nl