COMP: hexRef8 - changes to work-aroung clang compiler bug

This commit is contained in:
andy
2013-11-20 12:56:17 +00:00
parent cc8e6e0f7b
commit f6b22f4b97

View File

@ -3185,7 +3185,8 @@ Foam::labelList Foam::hexRef8::consistentSlowRefinement2
forAll(refineCell, cellI)
{
if (refineCell.get(cellI))
// if (refineCell.get(cellI))
if (refineCell[cellI])
{
nRefined++;
}
@ -3196,7 +3197,8 @@ Foam::labelList Foam::hexRef8::consistentSlowRefinement2
forAll(refineCell, cellI)
{
if (refineCell.get(cellI))
// if (refineCell.get(cellI))
if (refineCell[cellI])
{
newCellsToRefine[nRefined++] = cellI;
}