- Timestamp:
- Nov 27, 2019, 11:39:38 AM (7 years ago)
- Location:
- branches/eam_branches/ipp-20191011
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20191011
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20191011/Ohana
- Property svn:mergeinfo changed
-
branches/eam_branches/ipp-20191011/Ohana/src/opihi/lib.data/SplineOps.c
r41136 r41170 41 41 ALLOCATE (spline[0].y2, opihi_flt, spline[0].Nknots); 42 42 } 43 memset (spline[0].xk, 0, spline[0].Nknots * sizeof(opihi_flt)); 44 memset (spline[0].yk, 0, spline[0].Nknots * sizeof(opihi_flt)); 45 memset (spline[0].y2, 0, spline[0].Nknots * sizeof(opihi_flt)); 43 if (spline[0].Nknots) { 44 memset (spline[0].xk, 0, spline[0].Nknots * sizeof(opihi_flt)); 45 memset (spline[0].yk, 0, spline[0].Nknots * sizeof(opihi_flt)); 46 memset (spline[0].y2, 0, spline[0].Nknots * sizeof(opihi_flt)); 47 } 46 48 } 47 49
Note:
See TracChangeset
for help on using the changeset viewer.
