Skip to content

Commit

Permalink
perf: Minor optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregungory committed Feb 24, 2024
1 parent 398046b commit fee5b8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/calexpr.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit fee5b8c

Please # to comment.