summaryrefslogtreecommitdiffstats
path: root/include/astra/Globals.h
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2014-09-18 14:47:57 +0000
committerwpalenst <Willem.Jan.Palenstijn@cwi.nl>2014-09-18 14:47:57 +0000
commita4c272d9ebe3bb957a3bee074f617e4dcce11fd2 (patch)
treeaec4ae50a3a0703e7b049cd5305dae73c29d96eb /include/astra/Globals.h
parent9495966ba55ea102b6285e98d7426622276156bb (diff)
downloadastra-a4c272d9ebe3bb957a3bee074f617e4dcce11fd2.tar.gz
astra-a4c272d9ebe3bb957a3bee074f617e4dcce11fd2.tar.bz2
astra-a4c272d9ebe3bb957a3bee074f617e4dcce11fd2.tar.xz
astra-a4c272d9ebe3bb957a3bee074f617e4dcce11fd2.zip
Minor cleanup
Diffstat (limited to 'include/astra/Globals.h')
-rw-r--r--include/astra/Globals.h2
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);