IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 24, 2006, 3:20:51 PM (20 years ago)
Author:
eugene
Message:

minor bug fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/libdvo/src/coordops.c

    r5241 r6678  
    320320    if (fits_scan (header, "CDELT1", "%f", 1, &coords[0].cdelt1)) {
    321321      status &= fits_scan (header, "CDELT2", "%f", 1, &coords[0].cdelt2);
    322       if (fits_scan (header, "CROTA2", "%f", 1, &rotate)) {
     322      if (fits_scan (header, "CROTA2", "%lf", 1, &rotate)) {
    323323        Lambda = coords[0].cdelt2 / coords[0].cdelt1;
    324324        coords[0].pc1_1 =  cos(rotate*RAD_DEG);
Note: See TracChangeset for help on using the changeset viewer.