From a5a7092ed5cf84f0c92759c9f86883ddc2d9ca5f Mon Sep 17 00:00:00 2001 From: "Bernhard F.W. Gschaider" Date: Fri, 30 May 2014 16:55:22 +0200 Subject: [PATCH] Another fix to make it compile on CLang. This is a bit questionable in my opinion. Shouldn't the reference be const? --- src/VectorN/finiteVolume/blockMatrixTools/blockMatrixTools.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/VectorN/finiteVolume/blockMatrixTools/blockMatrixTools.C b/src/VectorN/finiteVolume/blockMatrixTools/blockMatrixTools.C index a337af777..e329fbef8 100644 --- a/src/VectorN/finiteVolume/blockMatrixTools/blockMatrixTools.C +++ b/src/VectorN/finiteVolume/blockMatrixTools/blockMatrixTools.C @@ -1262,7 +1262,7 @@ void insertEquationCoupling } // Get references to fvScalarMatrix fields, updating boundary contributions - scalarField& diag = matrix.D(); + scalarField& diag = matrix.D()(); scalarField& source = matrix.source(); matrix.addBoundarySource(source, false);