Skip to content
Snippets Groups Projects
Commit 48762a8c authored by Henry Weller's avatar Henry Weller
Browse files

STLpoint: declare operator point() for double-precision only

The base-class provides the point for single-precision.
parent f6e170dc
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
...@@ -80,11 +80,13 @@ public: ...@@ -80,11 +80,13 @@ public:
// Member Operators // Member Operators
//- Conversion to point #ifdef WM_DP
//- Conversion to double-precision point
inline operator point() const inline operator point() const
{ {
return point(x(), y(), z()); return point(x(), y(), z());
} }
#endif
}; };
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment