Skip to content

Commit

Permalink
Fix constness in fmpz_preinvn_init.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Pierre Flori committed Apr 10, 2017
1 parent 378cd2f commit c404e74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fmpz.h
Expand Up @@ -572,7 +572,7 @@ FLINT_DLL ulong fmpz_tdiv_ui(const fmpz_t g, ulong h);

FLINT_DLL void fmpz_tdiv_q_2exp(fmpz_t f, const fmpz_t g, ulong exp);

FLINT_DLL void fmpz_preinvn_init(fmpz_preinvn_t inv, fmpz_t f);
FLINT_DLL void fmpz_preinvn_init(fmpz_preinvn_t inv, const fmpz_t f);

FLINT_DLL void fmpz_preinvn_clear(fmpz_preinvn_t inv);

Expand Down
2 changes: 1 addition & 1 deletion fmpz/preinvn_init.c
Expand Up @@ -15,7 +15,7 @@
#include "mpn_extras.h"
#include "fmpz.h"

void fmpz_preinvn_init(fmpz_preinvn_t inv, fmpz_t f)
void fmpz_preinvn_init(fmpz_preinvn_t inv, const fmpz_t f)
{
fmpz c = *f;
mp_bitcnt_t norm;
Expand Down

0 comments on commit c404e74

Please sign in to comment.