Another fix to make it compile on CLang. This is a bit questionable in my opinion. Shouldn't the reference be const?

This commit is contained in:
Bernhard F.W. Gschaider 2014-05-30 16:55:22 +02:00
parent c5958100a1
commit a5a7092ed5

View file

@ -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);