IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 24, 2006, 2:27:29 PM (20 years ago)
Author:
Paul Price
Message:

Changed definition of psVectorAlloc and psArrayAlloc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/stac/src/shiftSize.c

    r8783 r9740  
    7777
    7878    psArray *inputs = psArrayAlloc(argc); // Input filenames
    79     inputs->n = argc;
    8079    for (int i = 0; i < argc; i++) {
    8180        inputs->data[i] = psAlloc(strlen(argv[i]));
     
    8786    psVector *xSize = psVectorAlloc(inputs->n, PS_TYPE_S32);
    8887    psVector *ySize = psVectorAlloc(inputs->n, PS_TYPE_S32);
    89     xSize->n = inputs->n;
    90     ySize->n = inputs->n;
    9188    for (int i = 0; i < inputs->n; i++) {
    9289        const char *filename = inputs->data[i]; // Name of FITS file
Note: See TracChangeset for help on using the changeset viewer.