diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/astra/Globals.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |