From fee5b8cfd15d26a1b5140ce841ed1767445d1d7a Mon Sep 17 00:00:00 2001 From: "Gregory J. Ward" Date: Sat, 24 Feb 2024 19:26:44 +0000 Subject: [PATCH] perf: Minor optimization --- src/common/calexpr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/calexpr.c b/src/common/calexpr.c index 98d7f482..8a059438 100644 --- a/src/common/calexpr.c +++ b/src/common/calexpr.c @@ -1,5 +1,5 @@ #ifndef lint -static const char RCSid[] = "$Id: calexpr.c,v 2.45 2024/02/24 19:11:45 greg Exp $"; +static const char RCSid[] = "$Id: calexpr.c,v 2.46 2024/02/24 19:26:44 greg Exp $"; #endif /* * Compute data values using expression parser @@ -349,7 +349,7 @@ edivi( EPNODE *ep2 = ep1->sibling; double d; - d = envalue(ep2); + d = evalue(ep2); if (d == 0.0) { wputs("Division by zero\n"); errno = ERANGE;