diff --git a/src/OpenFOAM/primitives/SphericalTensor/Identity.H b/src/OpenFOAM/primitives/SphericalTensor/Identity.H index 492b03dddf..0d645d8b91 100644 --- a/src/OpenFOAM/primitives/SphericalTensor/Identity.H +++ b/src/OpenFOAM/primitives/SphericalTensor/Identity.H @@ -76,6 +76,12 @@ public: return dual(); } + //- Return 1 for label + inline operator label() const + { + return 1; + } + //- Return 1 for scalar inline operator scalar() const {