eph_jcg 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/eph_jcg/ephemeris.rb +0 -2
- data/lib/eph_jcg/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 52b4e4f51f6d5b519bf2c078ee23b9cf2dbb69df
|
4
|
+
data.tar.gz: 31a7e336da57f59f4052474d0eb4b09d34d7f2a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3bc4a837e1ab52e96c8d14d267fe602cb1277a6340b76ead0f339fca1f7ff87d55b2e85831d1ce451940c12b04f3f19dfb973309ccb0378fc21b8c73aed9c4aa
|
7
|
+
data.tar.gz: fa128870f145d6b0f3c01f16017e5b03f08d8fc8dab1d4d381263a1d8be28a5d54b1e6e7f0593c125d30e3d32b12068215c6b0e8e58322e465eb81520e4e7ec5
|
data/lib/eph_jcg/ephemeris.rb
CHANGED
@@ -319,8 +319,6 @@ module EphJcg
|
|
319
319
|
theta = (2 * t - (a + b)) / (b - a).to_f
|
320
320
|
while theta > 1.0; theta -= 1.0; end
|
321
321
|
while theta < -1.0; theta += 1.0; end
|
322
|
-
#### puts "theta = #{theta}"
|
323
|
-
#### puts "Math.acos(theta) = #{Math.acos(theta)}"
|
324
322
|
return Math.acos(theta) * 180 / PI
|
325
323
|
end
|
326
324
|
|
data/lib/eph_jcg/version.rb
CHANGED