tChanged memory free calls - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
(HTM) git clone git://src.adamsgaard.dk/sphere
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit c8fda5738803686667567217cc927beb0c39a0fe
(DIR) parent 77d03f69783d2598c0920041d85d8d722c2c1868
(HTM) Author: Anders Damsgaard <adc@geo.au.dk>
Date: Mon, 15 Oct 2012 15:02:55 +0200
Changed memory free calls
Diffstat:
M src/device.cu | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
(DIR) diff --git a/src/device.cu b/src/device.cu
t@@ -768,9 +768,9 @@ __host__ void gpuMain(Float4* host_x,
cudaFree(dev_w_force_partial);
// Contact info arrays
- delete [] host_contacts;
- delete [] host_distmod;
- deleteĀ [] host_delta_t;
+ delete[] host_contacts;
+ delete[] host_distmod;
+ delete[] host_delta_t;
printf("Done\n");
} /* EOF */