Changeset 6191 for trunk/psLib/src/types
- Timestamp:
- Jan 25, 2006, 12:33:41 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/types/psMetadataConfig.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/types/psMetadataConfig.c
r6190 r6191 10 10 * @author Eric Van Alst, MHPCC 11 11 * 12 * @version $Revision: 1.5 1$ $Name: not supported by cvs2svn $13 * @date $Date: 2006-01-25 22: 18:00$12 * @version $Revision: 1.52 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2006-01-25 22:33:41 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 1482 1482 if (item == NULL) { 1483 1483 // XXX : this is probably not the right error value 1484 psError(PS_ERR_BAD_PARAMETER_VALUE, true, PS_ERRORTEXT_psMetadata_METATYPE_INVALID, PS_DATA_UNKNOWN); 1484 psError(PS_ERR_BAD_PARAMETER_VALUE, true, 1485 PS_ERRORTEXT_psMetadata_METATYPE_INVALID, PS_DATA_UNKNOWN); 1485 1486 psFree(iter); 1486 1487 return NULL; … … 1511 1512 case PS_DATA_F32: 1512 1513 psStringAppend(&content, "%s F32 ", item->name); 1513 psStringAppend(&content, "%. 15g ", item->data.F32);1514 psStringAppend(&content, "%.7g ", item->data.F32); 1514 1515 if ( strncmp(item->comment,"",2) ) { 1515 1516 psStringAppend(&content, " #%s", item->comment); … … 1595 1596 psStringAppend(&content, "F32 ", MAXSTR); 1596 1597 for (int i = 0; i < vector->n; i++) { 1597 psStringAppend(&content, "%. 15g ", vector->data.F32[i]);1598 psStringAppend(&content, "%.7g ", vector->data.F32[i]); 1598 1599 } 1599 1600 break;
Note:
See TracChangeset
for help on using the changeset viewer.
