diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2018-01-27 20:14:07 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2018-01-27 20:14:07 (GMT) |
commit | ce11bec2ee5edfd25cb9c15abcd1f57858814a3e (patch) | |
tree | 3f27950904939cf897cb1b44e8db18fd1216d214 /tksao/util | |
parent | 8b8dee3f4ced968e1fed3458060c529bfc5b8e62 (diff) | |
download | blt-ce11bec2ee5edfd25cb9c15abcd1f57858814a3e.zip blt-ce11bec2ee5edfd25cb9c15abcd1f57858814a3e.tar.gz blt-ce11bec2ee5edfd25cb9c15abcd1f57858814a3e.tar.bz2 |
redefine degToRad
Diffstat (limited to 'tksao/util')
-rw-r--r-- | tksao/util/util.C | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tksao/util/util.C b/tksao/util/util.C index dedaba9..5e4ab87 100644 --- a/tksao/util/util.C +++ b/tksao/util/util.C @@ -173,9 +173,6 @@ double m180To180(double aa) double radToDeg(double aa) { - if (isnan(aa) || isinf(aa) || (aa == -DBL_MAX) || (aa == DBL_MAX)) - return NAN; - double dd = 180.*aa/M_PI; return zero360(dd); } @@ -200,9 +197,6 @@ Vector3d radToDeg(const Vector3d& vv) double degToRad(double aa) { - if (isnan(aa) || isinf(aa) || (aa == -DBL_MAX) || (aa == DBL_MAX)) - return NAN; - double rr = M_PI*aa/180.; return zeroTWOPI(rr); } |