diff --git a/src/surfMesh/surfaceFormats/stl/STLpoint.H b/src/surfMesh/surfaceFormats/stl/STLpoint.H index 157e832ba5a66581799ac4049f1b30ef792929f3..eb0d9fccd2eefb4578e770eac738ac3b4954fba6 100644 --- a/src/surfMesh/surfaceFormats/stl/STLpoint.H +++ b/src/surfMesh/surfaceFormats/stl/STLpoint.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -80,11 +80,13 @@ public: // Member Operators - //- Conversion to point + #ifdef WM_DP + //- Conversion to double-precision point inline operator point() const { return point(x(), y(), z()); } + #endif };