The OpenFOAM repositories are back online - please see how to update to the latest version

Commit 197565f6 authored by Franjo's avatar Franjo

Cleanup of duplicates

parent 278ebae5
......@@ -349,18 +349,14 @@ int main(int argc, char *argv[])
patchIds
);
}
if (args.options().found("patchIds"))
{
IStringStream is(args.options()["patchIds"]);
patchIds = labelList(is);
}
if (args.options().found("patchIds"))
{
IStringStream is(args.options()["patchIds"]);
patchIds.append(labelList(is));
}
if (args.options().found("patchIdRange"))
{
IStringStream is(args.options()["patchIdRange"]);
......@@ -372,6 +368,7 @@ int main(int argc, char *argv[])
patchIds.append(id);
}
}
if (!patchIds.size())
{
FatalError() << "No patches specified"
......
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