- Timestamp:
- Feb 20, 2012, 3:06:34 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20111122/Ohana/src/opihi/cmd.data/cut.c
r20936 r33311 48 48 case 'X': 49 49 /* create output vectors */ 50 ResetVector (xvec, OPIHI_FLT, MAX (nx, 1));51 ResetVector (yvec, OPIHI_FLT, MAX (nx, 1));50 ResetVector (xvec, OPIHI_FLT, nx); 51 ResetVector (yvec, OPIHI_FLT, nx); 52 52 bzero (yvec[0].elements.Flt, nx*sizeof(opihi_flt)); 53 53 for (i = 0; i < nx; i++) { … … 80 80 case 'y': 81 81 case 'Y': 82 ResetVector (xvec, OPIHI_FLT, MAX (ny, 1));83 ResetVector (yvec, OPIHI_FLT, MAX (ny, 1));82 ResetVector (xvec, OPIHI_FLT, ny); 83 ResetVector (yvec, OPIHI_FLT, ny); 84 84 bzero (yvec[0].elements.Flt, ny*sizeof(opihi_flt)); 85 85 for (i = 0; i < ny; i++) {
Note:
See TracChangeset
for help on using the changeset viewer.
