IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 41513


Ignore:
Timestamp:
Mar 18, 2021, 4:29:35 PM (5 years ago)
Author:
cclin33
Message:

fix read DOUBLE format by using -column

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/tools/src/ftable.c

    r41484 r41513  
    519519            fprintf (stdout, "%e ", *(float *)line);
    520520          }
     521          if (!strcmp (type, "double")) {
     522            memcpy (line, &data[i*Nv*Nb + Nb*j], Nb);
     523            fprintf (stdout, "%e ", *(double *)line);
     524          }
    521525        }
    522526        fprintf (stdout, "\n");
Note: See TracChangeset for help on using the changeset viewer.