chiark / gitweb /
math/gfreduce.c, math/mpreduce.c: Remove unused macro from testing code.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 10 Aug 2013 08:48:52 +0000 (09:48 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 10 Aug 2013 14:28:29 +0000 (15:28 +0100)
Must have been cut-and-paste lossage when the tests were added.

Also remove a spurious blank line.

math/gfreduce.c
math/mpreduce.c

index 45591ddf4a047fc386b3249ebc24c5007e014de6..37703a43b6345db91f8c703971ce5f9464b24c8d 100644 (file)
@@ -577,8 +577,6 @@ mp *gfreduce_exp(gfreduce *gr, mp *d, mp *a, mp *e)
 
 #ifdef TEST_RIG
 
-#define MP(x) mp_readstring(MP_NEW, #x, 0, 0)
-
 static int vreduce(dstr *v)
 {
   mp *d = *(mp **)v[0].buf;
index b148dd5aa63671c9a1ac1c17c71b87328a22bf9c..2193de6dd5e7201ae651448a1dce0fa0a4be884d 100644 (file)
@@ -443,11 +443,8 @@ mp *mpreduce_exp(mpreduce *mr, mp *d, mp *a, mp *e)
 
 /*----- Test rig ----------------------------------------------------------*/
 
-
 #ifdef TEST_RIG
 
-#define MP(x) mp_readstring(MP_NEW, #x, 0, 0)
-
 static int vreduce(dstr *v)
 {
   mp *d = *(mp **)v[0].buf;