Bugfix: single precision compilation fix

This commit is contained in:
Hrvoje Jasak 2015-10-28 16:36:29 +00:00
parent 72dcbda8e3
commit 52ce49c659

View file

@ -161,7 +161,7 @@ void Foam::mgMeshLevel::makeChild() const
options[3] = nGeometricD(); // Dimensionality of the grid options[3] = nGeometricD(); // Dimensionality of the grid
// Output: cell to coarse clusted addressing // Output: cell to coarse clusted addressing
label nCoarseCells = 0; int nCoarseCells = 0;
child_.setSize(nCells()); child_.setSize(nCells());
int nMoves = -1; int nMoves = -1;
@ -214,8 +214,8 @@ void Foam::mgMeshLevel::makeChild() const
dblAreas.begin(), dblAreas.begin(),
cellCells.begin(), cellCells.begin(),
dblFaceWeights.begin(), dblFaceWeights.begin(),
mgMinClusterSize_, mgMinClusterSize_(),
mgMaxClusterSize_, mgMaxClusterSize_(),
options.begin(), options.begin(),
&nMoves, &nMoves,
&nCoarseCells_, &nCoarseCells_,