Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions astronomy/moshier/deflection.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$ns.deflectioon = {};
$ns.deflection = {};

$ns.deflectioon.calc = function (p, q, e, result) {
$ns.deflection.calc = function (p, q, e, result) {
var C; // double
var i; // int

Expand Down
2 changes: 1 addition & 1 deletion astronomy/moshier/planet.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ $ns.planet.reduce = function (body, q, e) {

/* Correct position for light deflection
*/
body.position.deflection = $moshier.deflectioon.calc ( p, q, e ); // relativity
body.position.deflection = $moshier.deflection.calc ( p, q, e ); // relativity

/* Correct for annual aberration
*/
Expand Down
2 changes: 1 addition & 1 deletion astronomy/moshier/star.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ $ns.star.reduce = function (body) {
/* Correct position for light deflection
* relativity( p, q, e );
*/
body.position.deflectioon = $moshier.deflectioon.calc ( p, p, e ); // relativity
body.position.deflection = $moshier.deflection.calc ( p, q, e ); // relativity

/* Correct for annual aberration
*/
Expand Down
Loading