IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 26, 2012, 11:46:01 AM (14 years ago)
Author:
eugene
Message:

updates for pedantic gcc, mods to relphot average mags to handle GPC1 stacks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/skycalc/src/time.c

    r20936 r34088  
    6565  long ja, jdint, jalpha, jb, jc, jd, je;
    6666  float jdfrac;
    67   double x;
    6867
    6968  jdin = jdin + 0.5;  /* adjust for 1/2 day */
    7069  jdint = jdin;
    71   x = jdint/7.+0.01;
     70
     71  // double x = jdint/7.+0.01; XXX why was this here?
    7272  jdfrac = jdin - jdint;
    7373  date->h = jdfrac * 24; /* truncate */
Note: See TracChangeset for help on using the changeset viewer.