Changeset 1063
- Timestamp:
- Jun 18, 2004, 3:59:51 PM (22 years ago)
- Location:
- trunk/psLib/src
- Files:
-
- 2 edited
-
collections/psScalar.c (modified) (3 diffs)
-
mathtypes/psScalar.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/collections/psScalar.c
r1060 r1063 8 8 * @author Ross Harman, MHPCC 9 9 * 10 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $11 * @date $Date: 2004-06-1 8 23:35:49$10 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2004-06-19 01:59:51 $ 12 12 * 13 13 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 57 57 psScalar *psScalarAlloc(psC64 value, psElemType dataType) 58 58 { 59 double valueReal = 0.0;60 59 psScalar *scalar = NULL; 61 60 … … 64 63 scalar->type.dimen = PS_DIMEN_SCALAR; 65 64 scalar->type.type = dataType; 66 valueReal = creal(value);67 65 68 66 switch (dataType) { -
trunk/psLib/src/mathtypes/psScalar.c
r1060 r1063 8 8 * @author Ross Harman, MHPCC 9 9 * 10 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $11 * @date $Date: 2004-06-1 8 23:35:49$10 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 11 * @date $Date: 2004-06-19 01:59:51 $ 12 12 * 13 13 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 57 57 psScalar *psScalarAlloc(psC64 value, psElemType dataType) 58 58 { 59 double valueReal = 0.0;60 59 psScalar *scalar = NULL; 61 60 … … 64 63 scalar->type.dimen = PS_DIMEN_SCALAR; 65 64 scalar->type.type = dataType; 66 valueReal = creal(value);67 65 68 66 switch (dataType) {
Note:
See TracChangeset
for help on using the changeset viewer.
