diff --git a/generate/template/astronomy.js b/generate/template/astronomy.js index c0670aaa..8e186644 100644 --- a/generate/template/astronomy.js +++ b/generate/template/astronomy.js @@ -1492,7 +1492,7 @@ function VisualMagnitude(body, phase, helio_dist, geo_dist) { break; case 'Mars': c0 = -1.52; c1 = +1.60; break; case 'Jupiter': c0 = -9.40; c1 = +0.50; break; - case 'Uranus': c0 = -7.19; break; + case 'Uranus': c0 = -7.19; c1 = +0.25; break; case 'Neptune': c0 = -6.87; break; case 'Pluto': c0 = -1.00; c1 = +4.00; break; default: throw `VisualMagnitude: unsupported body ${body}`; diff --git a/source/js/astronomy.js b/source/js/astronomy.js index 150f4cd0..e6c96f9d 100644 --- a/source/js/astronomy.js +++ b/source/js/astronomy.js @@ -2329,7 +2329,7 @@ function VisualMagnitude(body, phase, helio_dist, geo_dist) { break; case 'Mars': c0 = -1.52; c1 = +1.60; break; case 'Jupiter': c0 = -9.40; c1 = +0.50; break; - case 'Uranus': c0 = -7.19; break; + case 'Uranus': c0 = -7.19; c1 = +0.25; break; case 'Neptune': c0 = -6.87; break; case 'Pluto': c0 = -1.00; c1 = +4.00; break; default: throw `VisualMagnitude: unsupported body ${body}`;