Skip to content
Permalink
Browse files

#define M_PI if missing in c-api.c

resolves #143
  • Loading branch information...
evaleev committed Aug 20, 2019
1 parent 46ae285 commit e4904bb3025351874165f0c3babb4e6e27181a00
Showing with 4 additions and 0 deletions.
  1. +4 −0 tests/unit/c-api.c
@@ -7,6 +7,10 @@
Libint_t erieval;
double* F;

#ifndef M_PI
# define M_PI 3.1415926535897932384626433832795
#endif

/* computes F[0] .. F[max_m] */
extern void calc_f(double* F, double T, unsigned int max_m);

0 comments on commit e4904bb

Please sign in to comment.
You can’t perform that action at this time.