Changeset 2032
- Timestamp:
- Oct 8, 2004, 2:17:14 PM (22 years ago)
- Location:
- trunk/psLib/src
- Files:
-
- 2 edited
-
astro/psTime.c (modified) (5 diffs)
-
astronomy/psTime.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/astro/psTime.c
r2028 r2032 11 11 * @author Ross Harman, MHPCC 12 12 * 13 * @version $Revision: 1. 29$ $Name: not supported by cvs2svn $14 * @date $Date: 2004-10-0 8 23:18:27$13 * @version $Revision: 1.30 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2004-10-09 00:17:14 $ 15 15 * 16 16 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 74 74 } \ 75 75 TIME->sec = 0; \ 76 TIME->usec = 0; 76 TIME->usec = 0; \ 77 TIME->type = PS_TIME_TAI; 77 78 78 79 … … 915 916 916 917 ALLOC_TIME(outTime); 918 outTime->type = tai1->type; 917 919 918 920 outTime->sec = tai1->sec + tai2->sec; … … 938 940 939 941 ALLOC_TIME(outTime); 942 outTime->type = tai1->type; 940 943 941 944 outTime->sec = tai1->sec - tai2->sec; … … 961 964 962 965 ALLOC_TIME(outTime); 966 outTime->type = tai1->type; 963 967 964 968 outTime->sec = tai1->sec - tai2->sec; -
trunk/psLib/src/astronomy/psTime.c
r2028 r2032 11 11 * @author Ross Harman, MHPCC 12 12 * 13 * @version $Revision: 1. 29$ $Name: not supported by cvs2svn $14 * @date $Date: 2004-10-0 8 23:18:27$13 * @version $Revision: 1.30 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2004-10-09 00:17:14 $ 15 15 * 16 16 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 74 74 } \ 75 75 TIME->sec = 0; \ 76 TIME->usec = 0; 76 TIME->usec = 0; \ 77 TIME->type = PS_TIME_TAI; 77 78 78 79 … … 915 916 916 917 ALLOC_TIME(outTime); 918 outTime->type = tai1->type; 917 919 918 920 outTime->sec = tai1->sec + tai2->sec; … … 938 940 939 941 ALLOC_TIME(outTime); 942 outTime->type = tai1->type; 940 943 941 944 outTime->sec = tai1->sec - tai2->sec; … … 961 964 962 965 ALLOC_TIME(outTime); 966 outTime->type = tai1->type; 963 967 964 968 outTime->sec = tai1->sec - tai2->sec;
Note:
See TracChangeset
for help on using the changeset viewer.
