tDefine M_PI if not already defined - cngf-pf - continuum model for granular fl… | |
git clone git://src.adamsgaard.dk/cngf-pf | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit b5b2b53da978c70da923317e45e51d1414a7faa0 | |
parent 3f3eab4837248c63a8d4b499551ec2d3c596a8b8 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Thu, 12 Dec 2019 22:14:24 +0100 | |
Define M_PI if not already defined | |
Diffstat: | |
M max_depth_simple_shear.c | 4 ++++ | |
1 file changed, 4 insertions(+), 0 deletions(-) | |
--- | |
diff --git a/max_depth_simple_shear.c b/max_depth_simple_shear.c | |
t@@ -20,6 +20,10 @@ | |
/* uncomment to print time spent per time step to stdout */ | |
/* #define BENCHMARK_PERFORMANCE */ | |
+#ifndef M_PI | |
+#define M_PI 3.141592653589793238462643383279502884197169399375105820974944592… | |
+#endif | |
+ | |
static void | |
usage(void) | |
{ |