From a4c272d9ebe3bb957a3bee074f617e4dcce11fd2 Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Thu, 18 Sep 2014 14:47:57 +0000 Subject: Minor cleanup --- include/astra/Globals.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/astra') diff --git a/include/astra/Globals.h b/include/astra/Globals.h index 9407ef9..d82c238 100644 --- a/include/astra/Globals.h +++ b/include/astra/Globals.h @@ -176,7 +176,7 @@ namespace astra { int quad; //x = fmod(x, 2*PI); // Get rid of values > 2* pi - if (x < 0) x =- x; // cos(-x) = cos(x) + if (x < 0) x = -x; // cos(-x) = cos(x) quad = int(x/PIdiv2); // Get quadrant # (0 to 3) switch (quad) { case 0: return cos_73s(x); -- cgit v1.2.3