diff --git a/src/mesh/blockMesh/gradingDescriptor/gradingDescriptor.C b/src/mesh/blockMesh/gradingDescriptor/gradingDescriptor.C
index a098d9d9afffc57250cbd7c333ebbd5234386441..6c54e2c4f5347e38a8cf8e94b1cead6e58a57676 100644
--- a/src/mesh/blockMesh/gradingDescriptor/gradingDescriptor.C
+++ b/src/mesh/blockMesh/gradingDescriptor/gradingDescriptor.C
@@ -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_;
     }