From 058c3c3a45af0a819a6d97a438c6e4ff100c1553 Mon Sep 17 00:00:00 2001 From: andy <andy> Date: Fri, 22 Mar 2013 15:29:20 +0000 Subject: [PATCH] ENH: Added ()'s to macro for weightedOp --- src/OpenFOAM/primitives/ops/ops.H | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/OpenFOAM/primitives/ops/ops.H b/src/OpenFOAM/primitives/ops/ops.H index cab91fcfb5e..427679118f2 100644 --- a/src/OpenFOAM/primitives/ops/ops.H +++ b/src/OpenFOAM/primitives/ops/ops.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -175,7 +175,7 @@ Op(lessEq, x <= y) Op(greater, x > y) Op(greaterEq, x >= y) -weightedOp(multiply, weight * y) +weightedOp(multiply, (weight*y)) #undef Op -- GitLab