Skip to content

Commit

Permalink
Fix bug in fq_zech_bit_pack
Browse files Browse the repository at this point in the history
  • Loading branch information
mwhansen committed Nov 2, 2013
1 parent 4ae909f commit 16a1bab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fq_zech/bit_pack.c
Expand Up @@ -31,6 +31,7 @@ fq_zech_bit_pack(fmpz_t f, const fq_zech_t op, mp_bitcnt_t bit_size,
{
fq_nmod_t opn;
fq_nmod_init(opn, ctx->fq_nmod_ctx);
fq_zech_get_fq_nmod(opn, op, ctx);
fq_nmod_bit_pack(f, opn, bit_size, ctx->fq_nmod_ctx);
fq_nmod_clear(opn, ctx->fq_nmod_ctx);
}
Expand Down

0 comments on commit 16a1bab

Please sign in to comment.