gradingDescriptor: support SP compilation

This commit is contained in:
Henry
2015-02-05 12:11:55 +00:00
parent bbb6944e77
commit c328c68638

View File

@ -131,7 +131,7 @@ Foam::Istream& Foam::operator>>(Istream& is, gradingDescriptor& gd)
Foam::Ostream& Foam::operator<<(Ostream& os, const gradingDescriptor& gd)
{
if (equal(gd.blockFraction_, 1.0))
if (equal(gd.blockFraction_, 1))
{
os << gd.expansionRatio_;
}