Changeset 33662 for trunk/Ohana/src/opihi/cmd.data/reindex.c
- Timestamp:
- Apr 1, 2012, 3:24:39 PM (14 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/cmd.data/reindex.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/cmd.data/reindex.c
r30610 r33662 22 22 23 23 // ovec matches ivec in type and xvec in size (xvec need not have all ivec elements, and may have duplicates 24 ResetVector (ovec, ivec->type, MAX (xvec[0].Nelements, 1));24 ResetVector (ovec, ivec->type, xvec[0].Nelements); 25 25 26 26 Nmax = ivec[0].Nelements - 1; … … 51 51 52 52 // free up unused memory 53 ResetVector (ovec, ivec->type, MAX (Npts, 1));53 ResetVector (ovec, ivec->type, Npts); 54 54 return (TRUE); 55 55
Note:
See TracChangeset
for help on using the changeset viewer.
