IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 23, 2007, 1:19:35 PM (19 years ago)
Author:
bills
Message:

If it isn't tested it doesn't work....

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppstamp/src/ppstampArguments.c

    r15363 r15366  
    121121
    122122        // arcrange values are seconds of arc
    123         options->dRA  = DEG_TO_RAD(atof(argv[argnum]) * 3600.);
    124         options->dDEC = DEG_TO_RAD(atof(argv[argnum+1]) * 3600.);
     123        options->dRA  = SEC_TO_RAD(fabs(atof(argv[argnum])));
     124        options->dDEC = SEC_TO_RAD(fabs(atof(argv[argnum+1])));
    125125
    126126        psArgumentRemove(argnum, &argc, argv);
Note: See TracChangeset for help on using the changeset viewer.