From 4bd1ba2fa5e3bac25b32d5a572dda88e8e3eb754 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Mon, 22 Apr 2019 23:03:12 -0400 Subject: [PATCH] Oops; flipped a boolean. --- test/testing.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testing.c b/test/testing.c index 7dc56f10..b8a2a0cd 100644 --- a/test/testing.c +++ b/test/testing.c @@ -279,7 +279,7 @@ static void fillFracPart(char *s, int precision, int *start, uint64_t *unsec) print = 0; for (i = 0; i < precision; i++) { digit = *unsec % 10; - print = print || (digit == 0); + print = print || (digit != 0); if (print) { s[*start - 1] = "0123456789"[digit]; (*start)--;