diff options
author | Willem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl> | 2014-09-18 14:47:57 +0000 |
---|---|---|
committer | wpalenst <Willem.Jan.Palenstijn@cwi.nl> | 2014-09-18 14:47:57 +0000 |
commit | a4c272d9ebe3bb957a3bee074f617e4dcce11fd2 (patch) | |
tree | aec4ae50a3a0703e7b049cd5305dae73c29d96eb /include | |
parent | 9495966ba55ea102b6285e98d7426622276156bb (diff) | |
download | astra-a4c272d9ebe3bb957a3bee074f617e4dcce11fd2.tar.gz astra-a4c272d9ebe3bb957a3bee074f617e4dcce11fd2.tar.bz2 astra-a4c272d9ebe3bb957a3bee074f617e4dcce11fd2.tar.xz astra-a4c272d9ebe3bb957a3bee074f617e4dcce11fd2.zip |
Minor cleanup
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); |