IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28764


Ignore:
Timestamp:
Jul 29, 2010, 11:24:15 AM (16 years ago)
Author:
eugene
Message:

oops: lastDEC not defined.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20100621/Ohana/src/opihi/cmd.astro/cgrid.c

    r28763 r28764  
    157157    Nelem = (lastRA - firstRA) / minorRA;
    158158    if (!isfinite(Nelem) || (fabs(Nelem) > 10000)) { fprintf (stderr, "absurd cgrid range %f to %f in steps of %f\n", firstRA, lastRA, minorRA); return FALSE; }
    159     Nelem = (lastDEC - firstDEC) / minorDEC;
    160     if (!isfinite(Nelem) || (fabs(Nelem) > 10000)) { fprintf (stderr, "absurd cgrid range %f to %f in steps of %f\n", firstDEC, lastDEC, minorDEC); return FALSE; }
     159    Nelem = (90 - firstDEC) / minorDEC;
     160    if (!isfinite(Nelem) || (fabs(Nelem) > 10000)) { fprintf (stderr, "absurd cgrid range %f to %f in steps of %f\n", firstDEC, 90.0, minorDEC); return FALSE; }
    161161  }
    162162
Note: See TracChangeset for help on using the changeset viewer.