Skip to content
Commit 2d6bbdb1 authored by Akarsh Simha's avatar Akarsh Simha
Browse files

Initialize Rearth in KSPlanetBase to NaN

The member Rearth describes the distance to earth from the
planet. This was initialized to zero. It is much cleaner to initialize
it to NaN.

This may introduce a number of crashes, especially in debug mode, but
it will help expose computation bugs that would otherwise be hard to
find.

CCMAIL: kstars-devel@kde.org
parent e519cb49
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment