IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 9978


Ignore:
Timestamp:
Nov 14, 2006, 2:06:31 PM (20 years ago)
Author:
des
Message:

In function psVectorToString, appended after line 548 the following line:

strncat(str,tempStr,maxLength); \

This line was missing from the APPEND_ELEMENTS_CASE_COMPLEX macro and
hence rendering complex types was in error.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/mathtypes/psVector.c

    r9730 r9978  
    99*  @author Robert DeSonia, MHPCC
    1010*
    11 *  @version $Revision: 1.87 $ $Name: not supported by cvs2svn $
    12 *  @date $Date: 2006-10-24 22:52:56 $
     11*  @version $Revision: 1.88 $ $Name: not supported by cvs2svn $
     12*  @date $Date: 2006-11-15 00:06:31 $
    1313*
    1414*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    547547                 CREAL(vector->data.TYPE[lcv]), \
    548548                 CIMAG(vector->data.TYPE[lcv])); \
     549        strncat(str,tempStr,maxLength); \
    549550        full = (strlen(str) > maxLength-2); \
    550551        prefix = ","; \
     
    639640}
    640641
     642
    641643bool p_psVectorPrint (int fd,
    642644                      psVector *a,
Note: See TracChangeset for help on using the changeset viewer.