Fixed the case when 'relaxationFactors' entry is not present.

This commit is contained in:
henry
2009-03-12 22:19:31 +00:00
parent f4447d7049
commit 89683498e1

View File

@ -161,10 +161,6 @@ bool Foam::solution::read()
{
relaxationFactors_ = dict.subDict("relaxationFactors");
}
else
{
relaxationFactors_.add("default", "none");
}
if (relaxationFactors_.found("default"))
{