From 9dbb1149fc262ecf9f2be1d4a123a3d62948ee1e Mon Sep 17 00:00:00 2001 From: Mark Olesen Date: Mon, 23 Jun 2008 14:12:49 +0200 Subject: [PATCH] autoHexMesh : avoid compiler complaints about scalar->label conversion --- src/autoMesh/autoHexMesh/autoHexMeshDriver/autoHexMeshDriver.H | 2 +- .../autoHexMesh/autoHexMeshDriver/autoHexMeshDriverLayers.C | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/autoMesh/autoHexMesh/autoHexMeshDriver/autoHexMeshDriver.H b/src/autoMesh/autoHexMesh/autoHexMeshDriver/autoHexMeshDriver.H index 6576e3699c..790ef687b9 100644 --- a/src/autoMesh/autoHexMesh/autoHexMeshDriver/autoHexMeshDriver.H +++ b/src/autoMesh/autoHexMesh/autoHexMeshDriver/autoHexMeshDriver.H @@ -803,7 +803,7 @@ public: ( const dictionary& shrinkDict, const dictionary& motionDict, - const scalar nAllowableErrors, + const label nAllowableErrors, motionSmoother& ); diff --git a/src/autoMesh/autoHexMesh/autoHexMeshDriver/autoHexMeshDriverLayers.C b/src/autoMesh/autoHexMesh/autoHexMeshDriver/autoHexMeshDriverLayers.C index 1cfbee79d4..1de6e845fb 100644 --- a/src/autoMesh/autoHexMesh/autoHexMeshDriver/autoHexMeshDriverLayers.C +++ b/src/autoMesh/autoHexMesh/autoHexMeshDriver/autoHexMeshDriverLayers.C @@ -2346,7 +2346,7 @@ void Foam::autoHexMeshDriver::addLayers ( const dictionary& shrinkDict, const dictionary& motionDict, - const scalar nAllowableErrors, + const label nAllowableErrors, motionSmoother& meshMover ) {