BUG: Resolve circular call to ::write(Ostream&). See #1617

This commit is contained in:
Andrew Heather
2020-03-03 11:16:53 +00:00
parent 79cf72d573
commit ca28377642

View File

@ -122,7 +122,7 @@ void Foam::gradientEnergyFvPatchScalarField::updateCoeffs()
void Foam::gradientEnergyFvPatchScalarField::write(Ostream& os) const
{
fixedGradientFvPatchScalarField::write(os);
os.writeEntry("value", *this);
this->writeEntry("value", os);
}