assertion sizeof(mzd_t) == 64 fails on 32-bit

Issue #59 resolved
Jeroen Demeyer created an issue

On 32-bit systems, we have sizeof(mzd_t) == 56, causing a failed assertion when compiling with assertions enabled. Attaches patch fixes the issue.

But why does it even matter that sizeof(mzd_t) == 64? The code seems to work with sizeof(mzd_t) == 56.

See also http://trac.sagemath.org/ticket/16938#comment:62

Comments (2)

  1. Martin Albrecht repo owner

    Thanks for the patch. sizeof(mzd_t) == 64 is just used for performance reasons (alignment).

  2. Log in to comment