Skip to content

Commit 076249e

Browse files
fix asserts in bernoulli_mod_p_harvey
1 parent 8971bee commit 076249e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bernoulli/mod_p_harvey.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,9 @@ expander_expand(mp_ptr res, expander_t * this, ulong s, ulong n)
179179
{
180180
slong i;
181181

182-
FLINT_ASSERT(s > 0 && s < p);
182+
FLINT_ASSERT(s > 0 && s < this->p);
183183
FLINT_ASSERT(n >= 1);
184-
FLINT_ASSERT(n <= max_words);
184+
FLINT_ASSERT(n <= this->max_words);
185185

186186
if (s == 1)
187187
{

0 commit comments

Comments
 (0)