IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 42035


Ignore:
Timestamp:
Feb 10, 2022, 5:10:55 PM (4 years ago)
Author:
eugene
Message:

init tmpPlanet and myPlanet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20211108/Ohana/src/tools/src/mpcorb_predict.c

    r41714 r42035  
    237237
    238238  Planets tmpPlanet;
     239  memset (&tmpPlanet, 0, sizeof(Planets));
     240
    239241  PlanetDatum myPlanet;
    240242  myPlanet.Robs = NAN;
    241243  myPlanet.Dobs = NAN;
    242244  myPlanet.dist = NAN;
     245  myPlanet.Mobs = NAN;
     246  memset (myPlanet.ID, 0, 8);
    243247
    244248  // correct the orbital elements to the perturbed version
Note: See TracChangeset for help on using the changeset viewer.