From b32ef02cfdcc347b803823923ed7748c2b4d5100 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Wed, 27 Jun 2001 22:10:33 +0000 Subject: [PATCH] change INFINITY to HUGE_VAL --- comedi_calibrate/comedi_calibrate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.26.2