From d6987458f21cf1890045f2606d0f8ec4d2225b44 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 3 Mar 2016 23:02:59 +0100 Subject: Cleanup and fix bug in ztrunc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/zneg.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/zneg.c') diff --git a/src/zneg.c b/src/zneg.c index a22d58c..b21618c 100644 --- a/src/zneg.c +++ b/src/zneg.c @@ -5,7 +5,6 @@ void zneg(z_t a, z_t b) { - if (a != b) - zset(a, b); + SET(a, b); SET_SIGNUM(a, -zsignum(a)); } -- cgit v1.2.3-70-g09d2