Skip to content

Commit ca417f5

Browse files
Merge pull request #2372 from fredrik-johansson/Qlen
Fix allocation length in nmod_mpoly_divides_heap_threaded
2 parents 428983d + 115dc4d commit ca417f5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/nmod_mpoly/divides_heap_threaded.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -907,7 +907,7 @@ static int _nmod_mpoly_divides_stripe1(
907907
FLINT_ASSERT(mpoly_monomial_cmp1(exp, emin, cmpmask) >= 0);
908908

909909
_nmod_mpoly_fit_length(&Qcoeff, &Q->coeffs_alloc,
910-
&Qexp, &Q->exps_alloc, 1, Alen + 1);
910+
&Qexp, &Q->exps_alloc, 1, Qlen + 1);
911911

912912
lt_divides = mpoly_monomial_divides1(Qexp + Qlen, exp, Bexp[0], mask);
913913

0 commit comments

Comments
 (0)