Bugfix: Mac port: check for array size
This commit is contained in:
parent
195f5b6094
commit
1b05cb13dc
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ void Foam::sampledPatch::remapFaces
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
// recalculate the cells cut
|
// recalculate the cells cut
|
||||||
if (&faceMap && faceMap.size())
|
if (!faceMap.empty())
|
||||||
{
|
{
|
||||||
MeshStorage::remapFaces(faceMap);
|
MeshStorage::remapFaces(faceMap);
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue