[MN-dev] [mndiff]: r182 - trunk/noe/galois.c

michael subversion at mplayerhq.hu
Thu Jun 24 15:01:07 CEST 2010


Author: michael
Date: Thu Jun 24 15:01:06 2010
New Revision: 182

Log:
Simplify

Modified:
   trunk/noe/galois.c

Modified: trunk/noe/galois.c
==============================================================================
--- trunk/noe/galois.c	Wed Jun 23 12:35:01 2010	(r181)
+++ trunk/noe/galois.c	Thu Jun 24 15:01:06 2010	(r182)
@@ -98,7 +98,7 @@ void EXT(prodPoly)(GFF4Element *dst, GFF
             dst[i]= reduce(acc);
         }
     }else{
-        const int logSize= noe_log2(NOE_MIN(order2 + order1, 1<<(SHIFT-1)))+1;
+        const int logSize= noe_log2(NOE_MIN(order, 1<<(SHIFT-1)))+1;
         const int size= 1<<logSize;
         GFF4Element temp[2][size]; //FIXME is this fast?
         const GFF4Element scale= inv(size);


More information about the Mndiff-dev mailing list