Skip to content

Commit

Permalink
gr-impl.h
Browse files Browse the repository at this point in the history
  • Loading branch information
albinahlback committed Nov 5, 2024
1 parent 124f61b commit 94d3ec8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
7 changes: 7 additions & 0 deletions src/gr-impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@ int gr_ctx_init_fq_zech_modulus_fmpz_mod_poly(gr_ctx_t ctx, const fmpz_mod_poly_
void _gr_fmpz_mpoly_ctx_clear(gr_ctx_t ctx);
int _gr_fmpz_mpoly_ctx_set_gen_names(gr_ctx_t ctx, const char ** s);

int gr_test_pow_ui_base_scalar_multiplication(gr_ctx_t R, flint_rand_t state, int test_flags);
int gr_test_pow_ui_base_multiplication(gr_ctx_t R, flint_rand_t state, int test_flags);
int gr_test_pow_ui_aliasing(gr_ctx_t R, flint_rand_t state, int test_flags);

int gr_test_pow_ui_exponent_addition(gr_ctx_t R, flint_rand_t state, int test_flags);
int gr_test_pow_fmpz_exponent_addition(gr_ctx_t R, flint_rand_t state, int test_flags);

#ifdef __cplusplus
}
#endif
Expand Down
13 changes: 6 additions & 7 deletions src/gr/test_ring.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include "fexpr.h"
#include "fmpq.h"
#include "gr.h"
#include "gr-impl.h"
#include "gr_vec.h"
#include "gr_mat.h"
#include "gr_poly.h"
Expand Down Expand Up @@ -2275,7 +2276,7 @@ gr_test_divides(gr_ctx_t R, flint_rand_t state, int test_flags)
return status;
}

static int
int
gr_test_pow_ui_exponent_addition(gr_ctx_t R, flint_rand_t state, int test_flags)
{
int status;
Expand Down Expand Up @@ -2338,7 +2339,7 @@ gr_test_pow_ui_exponent_addition(gr_ctx_t R, flint_rand_t state, int test_flags)
return status;
}

static int
int
gr_test_pow_ui_base_scalar_multiplication(gr_ctx_t R, flint_rand_t state, int test_flags)
{
int status;
Expand Down Expand Up @@ -2396,7 +2397,7 @@ gr_test_pow_ui_base_scalar_multiplication(gr_ctx_t R, flint_rand_t state, int te
return status;
}

static int
int
gr_test_pow_ui_base_multiplication(gr_ctx_t R, flint_rand_t state, int test_flags)
{
int status;
Expand Down Expand Up @@ -2450,8 +2451,7 @@ gr_test_pow_ui_base_multiplication(gr_ctx_t R, flint_rand_t state, int test_flag
return status;
}

#if 0
static int
int
gr_test_pow_ui_aliasing(gr_ctx_t R, flint_rand_t state, int test_flags)
{
int status;
Expand Down Expand Up @@ -2495,9 +2495,8 @@ gr_test_pow_ui_aliasing(gr_ctx_t R, flint_rand_t state, int test_flags)

return status;
}
#endif

static int
int
gr_test_pow_fmpz_exponent_addition(gr_ctx_t R, flint_rand_t state, int test_flags)
{
int status;
Expand Down

0 comments on commit 94d3ec8

Please sign in to comment.