From 715e6e8340c1f34dc604eedbaaa1525bd58d0a7d Mon Sep 17 00:00:00 2001 From: Mathew Sutcliffe Date: Mon, 29 Apr 2013 23:28:41 +0100 Subject: [PATCH] fixed CMath::PI2() --- src/blackmisc/mathematics.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blackmisc/mathematics.h b/src/blackmisc/mathematics.h index 9105bd9f0..01fc9ebb7 100644 --- a/src/blackmisc/mathematics.h +++ b/src/blackmisc/mathematics.h @@ -86,7 +86,7 @@ public: */ static const double &PI2() { - static double pi2 = PI(); + static double pi2 = 2.0 * PI(); return pi2; }