From 23e35ab2ffcecc763a2d9cb4f6b4c95bedaad2bc Mon Sep 17 00:00:00 2001 From: Thomas Pabst Date: Fri, 13 Jul 2018 01:23:42 +0200 Subject: [PATCH] Fix compilation issue due on debian 9 stretch --- src/libmath.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libmath.c b/src/libmath.c index 6125f29..998031e 100644 --- a/src/libmath.c +++ b/src/libmath.c @@ -25,7 +25,7 @@ along with this program. If not, see static double inv(double a) { double v; - if (a==0.0) v=HUGE; + if (a==0.0) v=HUGE_VAL; else v = (double)1.0/a; return v; }