X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Flibpspp%2Fhash.c;h=9da3deb120a92ba0ee3423f78441ad85dd9ab22f;hb=4aa40ed36fcdb13f73520945d804e6d3d8d52738;hp=627751e16adcdd8d9dacee018a44741de2c17903;hpb=a2d859e5a4c8192257c04fd89b8336aa33b15363;p=pspp-builds.git diff --git a/src/libpspp/hash.c b/src/libpspp/hash.c index 627751e1..9da3deb1 100644 --- a/src/libpspp/hash.c +++ b/src/libpspp/hash.c @@ -20,7 +20,6 @@ #include "message.h" #include #include -#include #include #include #include @@ -134,7 +133,7 @@ hsh_hash_int (int i) unsigned hsh_hash_double (double d) { - if (!gsl_isnan (d)) + if (!isnan (d)) return hsh_hash_bytes (&d, sizeof d); else return 0;