tChanged return value under dry run - 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 c78431e98828434d0b07230d51e5a8bfdba8ab65
(DIR) parent f24d83260204912110474e4c5c874f3244f95c98
(HTM) Author: Anders Damsgaard <adc@geo.au.dk>
Date: Sun, 17 Mar 2013 21:43:28 +0100
Changed return value under dry run
Diffstat:
M src/sphere.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/src/sphere.cpp b/src/sphere.cpp
t@@ -46,7 +46,7 @@ DEM::DEM(const std::string inputbin,
// If this is a dry run, exit
if (dry == 1)
- exit(1);
+ exit(0);
if (initCuda == 1) {