IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 32820


Ignore:
Timestamp:
Nov 25, 2011, 11:55:29 AM (14 years ago)
Author:
bills
Message:

fix bug in sexagesimal to decimal conversion when hours == -0 or
degrees == -0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/whichimage

    r31710 r32820  
    6060
    6161    my $sign = 1;
    62     if ($h < 0) {
     62    if ($h =~ /-/) {
    6363        $sign = -1;
    6464        $h = - $h;
     
    7676
    7777    my $sign = 1;
    78     if ($d < 0) {
     78    if ($d =~ /-/) {
    7979        $sign = -1;
    8080        $d = - $d;
Note: See TracChangeset for help on using the changeset viewer.