Skip to content

Commit

Permalink
Merge pull request #133 from vneiger/fix_include_fft_tuning
Browse files Browse the repository at this point in the history
fix missing include for flint 3.1.2
  • Loading branch information
jerebertho authored Apr 2, 2024
2 parents 8f9313b + 680e4a0 commit f933281
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions src/usolve/univmultiply.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,21 @@
#ifdef _OPENMP
#include<omp.h>
#endif

#define USEFLINT 1

#ifdef USEFLINT
#include "flint/flint.h"
#include "flint/fmpz.h"
#include "flint/fft.h"
#include "flint/fft_tuning.h"
#include "flint/fmpz_poly.h"
#include "flint/flint.h"
#include "flint/fmpz.h"
// #include "flint/fft.h"
// #if __FLINT_VERSION < 3
// || (__FLINT_VERSION == 3 && __FLINT_VERSION_MINOR == 0)
// || (__FLINT_VERSION == 3 && __FLINT_VERSION_MINOR == 1 && __FLINT_VERSION_PATCHLEVEL < 2)
// #include "flint/fft_tuning.h"
// #endif
#include "flint/fmpz_poly.h"
#else
#include"mpz_upoly_multiply.h"
#include"mpz_upoly_multiply.h"
#endif

#ifdef USEFLINT
Expand Down

0 comments on commit f933281

Please sign in to comment.