From: kiirala Date: Mon, 2 Apr 2007 08:40:49 +0000 (+0000) Subject: Removed C99 isnormal from nr-filter-gaussian.cpp (bug 1678363) X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1abb976329f1efd30086ab673e5aba76c95635bc;p=inkscape.git Removed C99 isnormal from nr-filter-gaussian.cpp (bug 1678363) --- diff --git a/src/display/nr-filter-gaussian.cpp b/src/display/nr-filter-gaussian.cpp index dc183ec47..ace41171d 100644 --- a/src/display/nr-filter-gaussian.cpp +++ b/src/display/nr-filter-gaussian.cpp @@ -19,7 +19,7 @@ #include #include -#include "isnormal.h" +#include "isnan.h" #include "display/nr-filter-primitive.h" #include "display/nr-filter-gaussian.h" @@ -752,14 +752,14 @@ int FilterGaussian::get_enlarge(Matrix const &trans) void FilterGaussian::set_deviation(double deviation) { - if(isnormal(deviation) && deviation >= 0) { + if(isFinite(deviation) && deviation >= 0) { _deviation_x = _deviation_y = deviation; } } void FilterGaussian::set_deviation(double x, double y) { - if(isnormal(x) && x >= 0 && isnormal(y) && y >= 0) { + if(isFinite(x) && x >= 0 && isFinite(y) && y >= 0) { _deviation_x = x; _deviation_y = y; }