aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreschnett <eschnett@105869f7-3296-0410-a4ea-f4349344b45a>2012-01-02 19:19:53 +0000
committereschnett <eschnett@105869f7-3296-0410-a4ea-f4349344b45a>2012-01-02 19:19:53 +0000
commit57b0a959230142690db85732a25070121323580e (patch)
tree2cb69ece5a5df29d5c7b4013b07fc99ff718341a
parent6bbe334ae29817b03d598ad977306fb861956702 (diff)
Translate Kranc's Pi to M_PI
git-svn-id: https://svn.cct.lsu.edu/repos/numrel/LSUThorns/Vectors/trunk@45 105869f7-3296-0410-a4ea-f4349344b45a
-rw-r--r--src/vectors.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vectors.h b/src/vectors.h
index cc33ee5..2761202 100644
--- a/src/vectors.h
+++ b/src/vectors.h
@@ -315,6 +315,9 @@ struct vecprops<CCTK_REAL8> {
# define KRANC_DIFF_FUNCTIONS
#endif
+#undef Pi
+#define Pi (ToReal(M_PI))
+
#undef ToReal
#define ToReal(x) (vec_set1((CCTK_REAL)(x)))