diff --git a/src/functions.cpp b/src/functions.cpp index 9b118d53a..c9999fc3a 100644 --- a/src/functions.cpp +++ b/src/functions.cpp @@ -467,7 +467,7 @@ namespace Sass { double s; double l = (max + min) / 2.0; - if (max == min) { + if (NEAR_EQUAL(max, min)) { h = s = 0; // achromatic } else {