Skip to content

Commit

Permalink
Version 2.0.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
ezze committed Apr 16, 2018
2 parents 9ad2c75 + 8a7c32e commit 7b3dbe3
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 5 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
## Changelog

### 2.0.2 (2018-04-16)

- [Wrong predictions for Molniya 3-47 orbits](https://github.com/shashwatak/satellite-js/issues/43) are fixed. Special
thanks to [@nhamer](https://github.com/nhamer).

### 2.0.1 (2018-03-01)

- `sgp4` function's call result is used in `sgp4init`.
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ Special thanks to all contributors for improving usability and bug fixes :)
- [bakercp (Christopher Baker)](https://github.com/bakercp)
- [drom (Aliaksei Chapyzhenka)](https://github.com/drom)
- [PeterDaveHello (Peter Dave Hello)](https://github.com/PeterDaveHello)
- [nhamer](https://github.com/nhamer)
- [owntheweb](https://github.com/owntheweb)
- [Zigone](https://github.com/Zigone)

Expand Down
6 changes: 4 additions & 2 deletions commands/add-copyright.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ import fs from 'fs';
import glob from 'glob'; // eslint-disable-line
import prependFile from 'prepend-file'; // eslint-disable-line

const lines = fs.readFileSync('copyright.txt', {
import packageJson from '../package.json';

const lines = fs.readFileSync('copyright-template.txt', {
encoding: 'utf8',
}).split('\n');
}).replace('{version}', packageJson.version).split('\n');

const args = process.argv.slice(2);
const pattern = args[0];
Expand Down
2 changes: 1 addition & 1 deletion copyright.txt → copyright-template.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
satellite-js v2.0.0
satellite-js v{version}
(c) 2013 Shashwat Kandadai and UCSC
https://github.com/shashwatak/satellite-js
License: MIT
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "satellite.js",
"version": "2.0.1",
"version": "2.0.2",
"description": "SGP4/SDP4 calculation library",
"main": "lib/index.js",
"jsnext:main": "dist/satellite.es.js",
Expand Down
2 changes: 1 addition & 1 deletion src/propagation/dspace.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ export default function dspace(options) {
nm = xni + (xndt * ft) + (xnddt * ft * ft * 0.5);
xl = xli + (xldot * ft) + (xndt * ft * ft * 0.5);
if (irez !== 1) {
mm = xl - ((2.0 * nodem) + (2.0 * theta));
mm = (xl - (2.0 * nodem)) + (2.0 * theta);
dndt = nm - no;
} else {
mm = (xl - nodem - argpm) + theta;
Expand Down

0 comments on commit 7b3dbe3

Please sign in to comment.