Changeset 3283
- Timestamp:
- Feb 18, 2005, 9:42:48 AM (21 years ago)
- Location:
- trunk/psLib/test
- Files:
-
- 2 edited
-
dataIO/tst_psLookupTable_01.c (modified) (3 diffs)
-
fileUtils/tst_psLookupTable_01.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/dataIO/tst_psLookupTable_01.c
r3268 r3283 12 12 * @author Ross Harman, MHPCC 13 13 * 14 * @version $Revision: 1. 9$ $Name: not supported by cvs2svn $15 * @date $Date: 2005-02-1 7 21:48:49$14 * @version $Revision: 1.10 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2005-02-18 19:42:48 $ 16 16 * 17 17 * Copyright 2004-5 Maui High Performance Computing Center, University of Hawaii … … 466 466 table1 = psLookupTableAlloc("table10.dat",0,20); 467 467 table1 = psLookupTableRead(table1); 468 for(psS32 i = 0; i < table1->numRows- 2; i++ ) {468 for(psS32 i = 0; i < table1->numRows-1; i++ ) { 469 469 out1 = psLookupTableInterpolate(table1, 5.25, i, &status); 470 470 if( fabs(out1-interpolVal1[i]) > errorTol_psF64) { … … 473 473 } 474 474 } 475 for(psS32 i = 0; i < table1->numRows- 2; i++ ) {475 for(psS32 i = 0; i < table1->numRows-1; i++ ) { 476 476 out1 = psLookupTableInterpolate(table1, 5.0, i, &status); 477 477 if( fabs(out1-interpolVal2[i]) > errorTol_psF64) { -
trunk/psLib/test/fileUtils/tst_psLookupTable_01.c
r3268 r3283 12 12 * @author Ross Harman, MHPCC 13 13 * 14 * @version $Revision: 1. 9$ $Name: not supported by cvs2svn $15 * @date $Date: 2005-02-1 7 21:48:49$14 * @version $Revision: 1.10 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2005-02-18 19:42:48 $ 16 16 * 17 17 * Copyright 2004-5 Maui High Performance Computing Center, University of Hawaii … … 466 466 table1 = psLookupTableAlloc("table10.dat",0,20); 467 467 table1 = psLookupTableRead(table1); 468 for(psS32 i = 0; i < table1->numRows- 2; i++ ) {468 for(psS32 i = 0; i < table1->numRows-1; i++ ) { 469 469 out1 = psLookupTableInterpolate(table1, 5.25, i, &status); 470 470 if( fabs(out1-interpolVal1[i]) > errorTol_psF64) { … … 473 473 } 474 474 } 475 for(psS32 i = 0; i < table1->numRows- 2; i++ ) {475 for(psS32 i = 0; i < table1->numRows-1; i++ ) { 476 476 out1 = psLookupTableInterpolate(table1, 5.0, i, &status); 477 477 if( fabs(out1-interpolVal2[i]) > errorTol_psF64) {
Note:
See TracChangeset
for help on using the changeset viewer.
