From 52ce49c659067e9d71ffc046ab420564ec48c378 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Wed, 28 Oct 2015 16:36:29 +0000 Subject: [PATCH] Bugfix: single precision compilation fix --- src/dbns/multigrid/mgMeshLevel/mgMeshLevel.C | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/dbns/multigrid/mgMeshLevel/mgMeshLevel.C b/src/dbns/multigrid/mgMeshLevel/mgMeshLevel.C index 1b0ea060b..a53281a2e 100644 --- a/src/dbns/multigrid/mgMeshLevel/mgMeshLevel.C +++ b/src/dbns/multigrid/mgMeshLevel/mgMeshLevel.C @@ -161,7 +161,7 @@ void Foam::mgMeshLevel::makeChild() const options[3] = nGeometricD(); // Dimensionality of the grid // Output: cell to coarse clusted addressing - label nCoarseCells = 0; + int nCoarseCells = 0; child_.setSize(nCells()); int nMoves = -1; @@ -214,8 +214,8 @@ void Foam::mgMeshLevel::makeChild() const dblAreas.begin(), cellCells.begin(), dblFaceWeights.begin(), - mgMinClusterSize_, - mgMaxClusterSize_, + mgMinClusterSize_(), + mgMaxClusterSize_(), options.begin(), &nMoves, &nCoarseCells_,