Changeset 6511 for trunk/psModules/test/imsubtract/tst_pmImageSubtract.c
- Timestamp:
- Mar 3, 2006, 3:01:34 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/test/imsubtract/tst_pmImageSubtract.c
r5169 r6511 10 10 * data. More work need to be done to verify the results. 11 11 * 12 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $13 * @date $Date: 200 5-09-28 20:42:52$12 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2006-03-04 01:01:34 $ 14 14 * 15 15 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 161 161 162 162 psVector *sigmas = psVectorAlloc(sigmaLength, PS_TYPE_F32); 163 sigmas->n = sigmas->nalloc; 163 164 for (psS32 i = 0 ; i < sigmas->n ; i++) { 164 165 sigmas->data.F32[i] = 1.0 + (psF32) i; 165 166 } 166 167 psVector *orders = psVectorAlloc(orderLength, PS_TYPE_S32); 168 orders->n = orders->nalloc; 167 169 for (psS32 i = 0 ; i < orders->n ; i++) { 168 170 orders->data.S32[i] = i + 2; … … 617 619 // 618 620 psVector *sigmas = psVectorAlloc(TST03_SIGMA_LENGTH, PS_TYPE_F32); 621 sigmas->n = sigmas->nalloc; 619 622 for (psS32 i = 0 ; i < sigmas->n ; i++) { 620 623 sigmas->data.F32[i] = 1.0 + (psF32) i; 621 624 } 622 625 psVector *orders = psVectorAlloc(TST03_ORDER_LENGTH, PS_TYPE_S32); 626 orders->n = orders->nalloc; 623 627 for (psS32 i = 0 ; i < orders->n ; i++) { 624 628 orders->data.S32[i] = i + 2;
Note:
See TracChangeset
for help on using the changeset viewer.
