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:
parent
c5958100a1
commit
a5a7092ed5
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Reference in a new issue