Changeset 15115
- Timestamp:
- Sep 29, 2007, 12:18:09 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/types/psArray.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/types/psArray.c
r15076 r15115 9 9 * @author Ross Harman, MHPCC 10 10 * 11 * @version $Revision: 1.6 3$ $Name: not supported by cvs2svn $12 * @date $Date: 2007-09-2 8 21:03:24$11 * @version $Revision: 1.64 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2007-09-29 22:18:09 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 282 282 long j = (I << 1) + 1; 283 283 while (j <= J) { 284 result = func (in->data[index[j]], in->data[index[j+1]]); 285 if ((j < J) && (result < 0)) { 286 j++; 284 if (j < J) { 285 result = func (in->data[index[j]], in->data[index[j+1]]); 286 if (result < 0) { 287 j++; 288 } 287 289 } 288 290 result = func (in->data[temp], in->data[index[j]]);
Note:
See TracChangeset
for help on using the changeset viewer.
