changeset 1466:9ee98fe5024c

cfield: GF256 division can be called as floor or true division.
author Marcel Keller <mkeller@cs.au.dk>
date Wed, 11 Aug 2010 19:34:11 +0200
parents 2f0eeba34609
children 1fbd2ebdb978
files viff/cfield.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/viff/cfield.c	Wed Aug 11 19:23:54 2010 +0200
+++ b/viff/cfield.c	Wed Aug 11 19:34:11 2010 +0200
@@ -359,8 +359,8 @@
         0,                              /* nb_inplace_and */
         0,                              /* nb_inplace_xor */
         0,                              /* nb_inplace_or */
-        0,                              /* nb_floor_divide */
-        0,                              /* nb_true_divide */
+	cfield_GF256_divide,            /* nb_floor_divide */
+        cfield_GF256_divide,            /* nb_true_divide */
         0,                              /* nb_inplace_floor_divide */
         0                               /* nb_inplace_true_divide */
 };