From: David Schleef Date: Wed, 27 Jun 2001 22:10:33 +0000 (+0000) Subject: change INFINITY to HUGE_VAL X-Git-Tag: r0_7_16~62 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b32ef02cfdcc347b803823923ed7748c2b4d5100;p=comedilib.git change INFINITY to HUGE_VAL --- diff --git a/comedi_calibrate/comedi_calibrate.c b/comedi_calibrate/comedi_calibrate.c index 64c29e2..ecb2a88 100644 --- a/comedi_calibrate/comedi_calibrate.c +++ b/comedi_calibrate/comedi_calibrate.c @@ -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;