change INFINITY to HUGE_VAL
authorDavid Schleef <ds@schleef.org>
Wed, 27 Jun 2001 22:10:33 +0000 (22:10 +0000)
committerDavid Schleef <ds@schleef.org>
Wed, 27 Jun 2001 22:10:33 +0000 (22:10 +0000)
comedi_calibrate/comedi_calibrate.c

index 64c29e2ad5c985ce796de42bd64f3073978c6073..ecb2a884c1c5a3ab463269ae217337bd7d5e6093 100644 (file)
@@ -1040,8 +1040,8 @@ int linear_fit_monotonic(linear_fit_t *l)
        double sxp;
        int i;
 
-       l->min=INFINITY;
-       l->max=-INFINITY;
+       l->min=HUGE_VAL;
+       l->max=-HUGE_VAL;
        l->s1=0;
        l->sx=0;
        l->sy=0;